Change require_once to actual path
authorSam Reed <reedy@users.mediawiki.org>
Mon, 9 Aug 2010 20:40:38 +0000 (20:40 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Mon, 9 Aug 2010 20:40:38 +0000 (20:40 +0000)
Remove unused array

maintenance/storage/moveToExternal.php

index ec1c4c6..907254b 100644 (file)
@@ -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 );