r70781 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70780‎ | r70781 | r70782 >
Date:20:40, 9 August 2010
Author:reedy
Status:ok
Tags:
Comment:
Change require_once to actual path

Remove unused array
Modified paths:
  • /trunk/phase3/maintenance/storage/moveToExternal.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/storage/moveToExternal.php
@@ -9,10 +9,8 @@
1010 define( 'REPORTING_INTERVAL', 1 );
1111
1212 if ( !defined( 'MEDIAWIKI' ) ) {
13 - $optionsWithArgs = array( 'e', 's' );
14 -
1513 require_once( dirname( __FILE__ ) . '/../commandLine.inc' );
16 - require_once( 'ExternalStoreDB.php' );
 14+ require_once( dirname( __FILE__ ) . '/../../includes/ExternalStoreDB.php' );
1715 require_once( 'resolveStubs.php' );
1816
1917 $fname = 'moveToExternal';
@@ -35,8 +33,6 @@
3634 moveToExternal( $cluster, $maxID, $minID );
3735 }
3836
39 -
40 -
4137 function moveToExternal( $cluster, $maxID, $minID = 1 ) {
4238 $fname = 'moveToExternal';
4339 $dbw = wfGetDB( DB_MASTER );

Status & tagging log