mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-11-24 15:13:44 +00:00
Bug 35156 - Harmonise spelling of getArticleID() and getArticleId()
Mass change ->getArticleId() to ->getArticleID()
This commit is contained in:
parent
e77f4c8b7c
commit
856be3bc29
Notes:
Sam Reed
2012-03-11 19:04:37 +00:00
|
@ -119,7 +119,7 @@ class SpamBlacklist extends BaseBlacklist {
|
||||||
*/
|
*/
|
||||||
function getCurrentLinks( $title ) {
|
function getCurrentLinks( $title ) {
|
||||||
$dbr = wfGetDB( DB_SLAVE );
|
$dbr = wfGetDB( DB_SLAVE );
|
||||||
$id = $title->getArticleId(); // should be zero queries
|
$id = $title->getArticleID(); // should be zero queries
|
||||||
$res = $dbr->select( 'externallinks', array( 'el_to' ),
|
$res = $dbr->select( 'externallinks', array( 'el_to' ),
|
||||||
array( 'el_from' => $id ), __METHOD__ );
|
array( 'el_from' => $id ), __METHOD__ );
|
||||||
$links = array();
|
$links = array();
|
||||||
|
|
Loading…
Reference in a new issue