From: Aryeh Gregor Date: Fri, 25 Jul 2008 19:36:13 +0000 (+0000) Subject: Change a few hardcoded select() parameters (one of which was actually incorrect)... X-Git-Tag: 1.31.0-rc.0~46365 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=53e781f97306a062b54dd270d32ede3a16317868;p=lhc%2Fweb%2Fwiklou.git Change a few hardcoded select() parameters (one of which was actually incorrect) to __METHOD__. --- 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;