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
resourceloader: Update startup mock in jsduck/eg-iframe
[lhc/web/wiklou.git]
/
maintenance
/
populateFilearchiveSha1.php
diff --git
a/maintenance/populateFilearchiveSha1.php
b/maintenance/populateFilearchiveSha1.php
index
cbd969d
..
ef57640
100644
(file)
--- a/
maintenance/populateFilearchiveSha1.php
+++ b/
maintenance/populateFilearchiveSha1.php
@@
-56,7
+56,7
@@
class PopulateFilearchiveSha1 extends LoggedUpdateMaintenance {
}
$this->output( "Populating fa_sha1 field from fa_storage_key\n" );
}
$this->output( "Populating fa_sha1 field from fa_storage_key\n" );
- $endId = $dbw->selectField( $table, 'MAX(fa_id)',
false
, __METHOD__ );
+ $endId = $dbw->selectField( $table, 'MAX(fa_id)',
''
, __METHOD__ );
$batchSize = $this->getBatchSize();
$done = 0;
$batchSize = $this->getBatchSize();
$done = 0;
@@
-104,5
+104,5
@@
class PopulateFilearchiveSha1 extends LoggedUpdateMaintenance {
}
}
}
}
-$maintClass =
"PopulateFilearchiveSha1"
;
+$maintClass =
PopulateFilearchiveSha1::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;