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 "Use descriptive key for array of in a Special:EditWatchlist line"
[lhc/web/wiklou.git]
/
maintenance
/
deleteImageMemcached.php
diff --git
a/maintenance/deleteImageMemcached.php
b/maintenance/deleteImageMemcached.php
index
b44a424
..
4799e5e
100644
(file)
--- a/
maintenance/deleteImageMemcached.php
+++ b/
maintenance/deleteImageMemcached.php
@@
-80,6
+80,7
@@
class DeleteImageCache extends Maintenance {
private function getImageCount() {
$dbr = wfGetDB( DB_SLAVE );
+
return $dbr->selectField( 'image', 'COUNT(*)', array(), __METHOD__ );
}
}