From: Sam Reed Date: Mon, 9 Aug 2010 20:40:38 +0000 (+0000) Subject: Change require_once to actual path X-Git-Tag: 1.31.0-rc.0~35573 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=d0124dd93012839d3ce7e32ade95db156ebc519e;p=lhc%2Fweb%2Fwiklou.git Change require_once to actual path Remove unused array --- 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 );