From: Brion Vibber Date: Mon, 13 Aug 2007 19:56:45 +0000 (+0000) Subject: don't use unspecific paths in require_once()'s ... they break with default include... X-Git-Tag: 1.31.0-rc.0~51782 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=bc24df49fd9913394986aa5614ff8d07ea4571d2;p=lhc%2Fweb%2Fwiklou.git don't use unspecific paths in require_once()'s ... they break with default include path, and are also unnecessary under autoloader scheme --- diff --git a/maintenance/storage/checkStorage.php b/maintenance/storage/checkStorage.php index d8f693d201..d50ef366d2 100644 --- a/maintenance/storage/checkStorage.php +++ b/maintenance/storage/checkStorage.php @@ -8,9 +8,6 @@ define( 'CONCAT_HEADER', 'O:27:"concatenatedgziphistoryblob"' ); if ( !defined( 'MEDIAWIKI' ) ) { require_once( dirname(__FILE__) . '/../commandLine.inc' ); - require_once( 'ExternalStore.php' ); - require_once( 'ExternalStoreDB.php' ); - require_once( 'SpecialImport.php' ); $cs = new CheckStorage; $fix = isset( $options['fix'] ); diff --git a/maintenance/storage/resolveStubs.php b/maintenance/storage/resolveStubs.php index c8d2f4c0d8..5dfaa598b1 100644 --- a/maintenance/storage/resolveStubs.php +++ b/maintenance/storage/resolveStubs.php @@ -6,7 +6,6 @@ if ( !defined( 'MEDIAWIKI' ) ) { $optionsWithArgs = array( 'm' ); require_once( dirname(__FILE__) . '/../commandLine.inc' ); - require_once( 'includes/ExternalStoreDB.php' ); resolveStubs(); }