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
Update wfGetDB calls in Maintenance scripts to use getDB()
[lhc/web/wiklou.git]
/
maintenance
/
storage
/
orphanStats.php
diff --git
a/maintenance/storage/orphanStats.php
b/maintenance/storage/orphanStats.php
index
c5213ad
..
b1bf95b
100644
(file)
--- a/
maintenance/storage/orphanStats.php
+++ b/
maintenance/storage/orphanStats.php
@@
-43,7
+43,7
@@
class OrphanStats extends Maintenance {
}
public function execute() {
- $dbr =
wfG
etDB( DB_SLAVE );
+ $dbr =
$this->g
etDB( DB_SLAVE );
if ( !$dbr->tableExists( 'blob_orphans' ) ) {
$this->error( "blob_orphans doesn't seem to exist, need to run trackBlobs.php first", true );
}