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
ClassicInterwikiLookup: Call static function selectFields statically
[lhc/web/wiklou.git]
/
includes
/
interwiki
/
ClassicInterwikiLookup.php
diff --git
a/includes/interwiki/ClassicInterwikiLookup.php
b/includes/interwiki/ClassicInterwikiLookup.php
index
4ccca97
..
883b5fa
100644
(file)
--- a/
includes/interwiki/ClassicInterwikiLookup.php
+++ b/
includes/interwiki/ClassicInterwikiLookup.php
@@
-288,7
+288,7
@@
class ClassicInterwikiLookup implements InterwikiLookup {
$row = $dbr->selectRow(
'interwiki',
$row = $dbr->selectRow(
'interwiki',
-
ClassicInterwikiLookup
::selectFields(),
+
self
::selectFields(),
[ 'iw_prefix' => $prefix ],
__METHOD__
);
[ 'iw_prefix' => $prefix ],
__METHOD__
);
@@
-408,7
+408,7
@@
class ClassicInterwikiLookup implements InterwikiLookup {
}
$res = $db->select( 'interwiki',
}
$res = $db->select( 'interwiki',
-
$this->
selectFields(),
+
self::
selectFields(),
$where, __METHOD__, [ 'ORDER BY' => 'iw_prefix' ]
);
$where, __METHOD__, [ 'ORDER BY' => 'iw_prefix' ]
);