X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fstorage%2FstorageTypeStats.php;h=9ba3d1b9a75a8a288a1f07561f0d9be86bacd3fc;hb=21c6ae1163b07da7ac49938f50613c0e1cf262c3;hp=c23f50866ad4488ab09856ed5dacd1d5314e6452;hpb=fc7d715b4b5adedd0ae3e9e6f969c89e19d460eb;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/storageTypeStats.php b/maintenance/storage/storageTypeStats.php index c23f50866a..9ba3d1b9a7 100644 --- 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 ); - $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 ); @@ -111,5 +111,5 @@ SQL; } } -$maintClass = 'StorageTypeStats'; +$maintClass = StorageTypeStats::class; require_once RUN_MAINTENANCE_IF_MAIN;