From d0124dd93012839d3ce7e32ade95db156ebc519e Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 9 Aug 2010 20:40:38 +0000 Subject: [PATCH] Change require_once to actual path Remove unused array --- maintenance/storage/moveToExternal.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/maintenance/storage/moveToExternal.php b/maintenance/storage/moveToExternal.php index ec1c4c658a..907254b369 100644 --- a/maintenance/storage/moveToExternal.php +++ b/maintenance/storage/moveToExternal.php @@ -9,10 +9,8 @@ define( 'REPORTING_INTERVAL', 1 ); if ( !defined( 'MEDIAWIKI' ) ) { - $optionsWithArgs = array( 'e', 's' ); - require_once( dirname( __FILE__ ) . '/../commandLine.inc' ); - require_once( 'ExternalStoreDB.php' ); + require_once( dirname( __FILE__ ) . '/../../includes/ExternalStoreDB.php' ); require_once( 'resolveStubs.php' ); $fname = 'moveToExternal'; @@ -35,8 +33,6 @@ if ( !defined( 'MEDIAWIKI' ) ) { moveToExternal( $cluster, $maxID, $minID ); } - - function moveToExternal( $cluster, $maxID, $minID = 1 ) { $fname = 'moveToExternal'; $dbw = wfGetDB( DB_MASTER ); -- 2.20.1