dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "MailAddress->toString(): Reduce complexity by inverting ifs"
[lhc/web/wiklou.git]
/
maintenance
/
storage
/
moveToExternal.php
diff --git
a/maintenance/storage/moveToExternal.php
b/maintenance/storage/moveToExternal.php
index
e117992
..
639ef58
100644
(file)
--- 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 {
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 );
}
moveToExternal( $cluster, $maxID, $minID );
}