From 53e781f97306a062b54dd270d32ede3a16317868 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 25 Jul 2008 19:36:13 +0000 Subject: [PATCH] Change a few hardcoded select() parameters (one of which was actually incorrect) to __METHOD__. --- includes/Article.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index aee54637f8..ef1cf86751 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -3278,7 +3278,7 @@ class Article { $res = $dbr->select( array( 'templatelinks' ), array( 'tl_namespace', 'tl_title' ), array( 'tl_from' => $id ), - 'Article:getUsedTemplates' ); + __METHOD__ ); if ( false !== $res ) { if ( $dbr->numRows( $res ) ) { while ( $row = $dbr->fetchObject( $res ) ) { @@ -3308,7 +3308,7 @@ class Article { array( 'cl_to' ), array( 'cl_from' => $id, 'pp_page=page_id', 'pp_propname' => 'hiddencat', 'page_namespace' => NS_CATEGORY, 'page_title=cl_to'), - 'Article:getHiddenCategories' ); + __METHOD__ ); if ( false !== $res ) { if ( $dbr->numRows( $res ) ) { while ( $row = $dbr->fetchObject( $res ) ) { @@ -3406,7 +3406,7 @@ class Article { $res = $dbr->select( array( 'templatelinks' ), array( 'tl_namespace', 'tl_title' ), array( 'tl_from' => $id ), - 'Article:getUsedTemplates' ); + __METHOD__ ); global $wgContLang; -- 2.20.1