From bc24df49fd9913394986aa5614ff8d07ea4571d2 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 13 Aug 2007 19:56:45 +0000 Subject: [PATCH] don't use unspecific paths in require_once()'s ... they break with default include path, and are also unnecessary under autoloader scheme --- maintenance/storage/checkStorage.php | 3 --- maintenance/storage/resolveStubs.php | 1 - 2 files changed, 4 deletions(-) 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(); } -- 2.20.1