Skip to content

Commit

Permalink
Merge pull request #13842 from seamuslee001/upgrade_log_package
Browse files Browse the repository at this point in the history
Remove Log.php require_once statements
  • Loading branch information
eileenmcnaughton authored Mar 17, 2019
2 parents 5d0bcc8 + 4f897b7 commit 2d5479d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
1 change: 0 additions & 1 deletion CRM/Core/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
* @copyright CiviCRM LLC (c) 2004-2019
*/

require_once 'Log.php';
require_once 'Mail.php';

require_once 'api/api.php';
Expand Down
2 changes: 0 additions & 2 deletions CRM/Core/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
require_once 'PEAR/Exception.php';
require_once 'CRM/Core/Exception.php';

require_once 'Log.php';

/**
* Class CRM_Exception
*/
Expand Down
18 changes: 18 additions & 0 deletions CRM/Utils/Check/Component/Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,24 @@ public function getRemovedFiles() {
$files[] = '[civicrm.vendor]/pear/net_smtp/phpdoc.sh';
$files[] = '[civicrm.vendor]/phpoffice/phpword/samples';
$files[] = '[civicrm.root]/templates/CRM/common/version.tpl';
$files[] = '[civicrm.packages]/Log.php';
$files[] = '[civicrm.packages]/_ORIGINAL_/Log.php';
$files[] = '[civicrm.packages]/Log/composite.php';
$files[] = '[civicrm.packages]/Log/console.php';
$files[] = '[civicrm.packages]/Log/daemon.php';
$files[] = '[civicrm.packages]/Log/display.php';
$files[] = '[civicrm.packages]/Log/error_log.php';
$files[] = '[civicrm.packages]/Log/file.php';
$files[] = '[civicrm.packages]/Log/firebug.php';
$files[] = '[civicrm.packages]/Log/mail.php';
$files[] = '[civicrm.packages]/Log/mcal.php';
$files[] = '[civicrm.packages]/Log/mdb2.php';
$files[] = '[civicrm.packages]/Log/null.php';
$files[] = '[civicrm.packages]/Log/observer.php';
$files[] = '[civicrm.packages]/Log/sql.php';
$files[] = '[civicrm.packages]/Log/sqlite.php';
$files[] = '[civicrm.packages]/Log/syslog.php';
$files[] = '[civicrm.packages]/Log/win.php';

return $files;
}
Expand Down

0 comments on commit 2d5479d

Please sign in to comment.