Bug 35156 - Harmonise spelling of getArticleID() and getArticleId()

Mass change ->getArticleId() to ->getArticleID()
This commit is contained in:
Sam Reed 2012-03-11 19:04:37 +00:00
parent ce10287e6e
commit d0da7806b9
Notes: Sam Reed 2012-03-11 19:04:37 +00:00

View file

@ -418,7 +418,7 @@ class SimpleCaptcha {
*/ */
function getLinksFromTracker( $title ) { function getLinksFromTracker( $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();