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
Remove "$that" from SessionManager
[lhc/web/wiklou.git]
/
maintenance
/
clearInterwikiCache.php
diff --git
a/maintenance/clearInterwikiCache.php
b/maintenance/clearInterwikiCache.php
index
80c9004
..
4b5773c
100644
(file)
--- a/
maintenance/clearInterwikiCache.php
+++ b/
maintenance/clearInterwikiCache.php
@@
-32,12
+32,12
@@
class ClearInterwikiCache extends Maintenance {
public function __construct() {
parent::__construct();
public function __construct() {
parent::__construct();
- $this->
mDescription = "Clear all interwiki links for all languages from the cache"
;
+ $this->
addDescription( 'Clear all interwiki links for all languages from the cache' )
;
}
public function execute() {
global $wgLocalDatabases, $wgMemc;
}
public function execute() {
global $wgLocalDatabases, $wgMemc;
- $dbr =
wfG
etDB( DB_SLAVE );
+ $dbr =
$this->g
etDB( DB_SLAVE );
$res = $dbr->select( 'interwiki', array( 'iw_prefix' ), false );
$prefixes = array();
foreach ( $res as $row ) {
$res = $dbr->select( 'interwiki', array( 'iw_prefix' ), false );
$prefixes = array();
foreach ( $res as $row ) {