X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fstorage%2FmoveToExternal.php;h=639ef5846fc4819319fdc244b430efde8017bc8b;hb=b00021f0e7f7b11cf4a85406388ec66579d6e2b9;hp=e1179920ca495f922dced1ac5fee133a0f3049a8;hpb=e968a1f431ad058dcb14adb2757bde5664b99a79;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/moveToExternal.php b/maintenance/storage/moveToExternal.php index e1179920ca..639ef5846f 100644 --- a/maintenance/storage/moveToExternal.php +++ b/maintenance/storage/moveToExternal.php @@ -41,9 +41,9 @@ if ( !defined( 'MEDIAWIKI' ) ) { if ( isset( $options['e'] ) ) { $maxID = $options['e']; } else { - $maxID = $dbw->selectField( 'text', 'MAX(old_id)', false, $fname ); + $maxID = $dbw->selectField( 'text', 'MAX(old_id)', '', $fname ); } - $minID = isset( $options['s'] ) ? $options['s'] : 1; + $minID = $options['s'] ?? 1; moveToExternal( $cluster, $maxID, $minID ); }