From: Sam Reed Date: Sun, 5 Dec 2010 16:08:12 +0000 (+0000) Subject: Change some member calls to static, from r75709 X-Git-Tag: 1.31.0-rc.0~33544 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=ec35a2b39f75dbfb0422680619dcb6e4d05daf80;p=lhc%2Fweb%2Fwiklou.git Change some member calls to static, from r75709 --- diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 682dda3360..0ee9dba020 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -422,10 +422,10 @@ class CategoryViewer { */ function formatList( $articles, $articles_start_char, $cutoff = 6 ) { if ( count ( $articles ) > $cutoff ) { - return $this->columnList( $articles, $articles_start_char ); + return self::columnList( $articles, $articles_start_char ); } elseif ( count( $articles ) > 0 ) { // for short lists of articles in categories. - return $this->shortList( $articles, $articles_start_char ); + return self::shortList( $articles, $articles_start_char ); } return ''; }