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
Pass '' instead of false for the $conds parameter in select calls.
[lhc/web/wiklou.git]
/
maintenance
/
storage
/
storageTypeStats.php
diff --git
a/maintenance/storage/storageTypeStats.php
b/maintenance/storage/storageTypeStats.php
index
c23f508
..
9ba3d1b
100644
(file)
--- a/
maintenance/storage/storageTypeStats.php
+++ b/
maintenance/storage/storageTypeStats.php
@@
-25,7
+25,7
@@
class StorageTypeStats extends Maintenance {
function execute() {
$dbr = $this->getDB( DB_REPLICA );
function execute() {
$dbr = $this->getDB( DB_REPLICA );
- $endId = $dbr->selectField( 'text', 'MAX(old_id)',
false
, __METHOD__ );
+ $endId = $dbr->selectField( 'text', 'MAX(old_id)',
''
, __METHOD__ );
if ( !$endId ) {
echo "No text rows!\n";
exit( 1 );
if ( !$endId ) {
echo "No text rows!\n";
exit( 1 );
@@
-111,5
+111,5
@@
SQL;
}
}
}
}
-$maintClass =
'StorageTypeStats'
;
+$maintClass =
StorageTypeStats::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;