aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiFeedWatchlist.php
diff options
context:
space:
mode:
authorReedy <reedy@wikimedia.org>2015-11-07 21:10:23 +0000
committerReedy <reedy@wikimedia.org>2015-11-07 21:10:23 +0000
commit9335469cf3cec23c459e9807ee739a67c56dacbb (patch)
treef9c7d4bf65b6f2bcd45d8c46b50f9dd2ad92e408 /includes/api/ApiFeedWatchlist.php
parenteea7d4ff1bbd20a3e6118cb22effef4e7e6598e7 (diff)
downloadmediawikicore-9335469cf3cec23c459e9807ee739a67c56dacbb.tar.gz
mediawikicore-9335469cf3cec23c459e9807ee739a67c56dacbb.zip
Fix casing of function calls in API
Change-Id: I44b343568e5713118c41f29a73e112162dd3e635
Diffstat (limited to 'includes/api/ApiFeedWatchlist.php')
-rw-r--r--includes/api/ApiFeedWatchlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php
index 0ddb3c3870a5..e8afcb67ceef 100644
--- a/includes/api/ApiFeedWatchlist.php
+++ b/includes/api/ApiFeedWatchlist.php
@@ -181,7 +181,7 @@ class ApiFeedWatchlist extends ApiBase {
// Probably a formerly-valid title that's now conflicting with an
// interwiki prefix or the like.
if ( isset( $info['pageid'] ) ) {
- $title = Title::newFromId( $info['pageid'] );
+ $title = Title::newFromID( $info['pageid'] );
$curidParam = array( 'curid' => $info['pageid'] );
}
if ( !$title || $title->isExternal() ) {