Change some member calls to static, from r75709
authorSam Reed <reedy@users.mediawiki.org>
Sun, 5 Dec 2010 16:08:12 +0000 (16:08 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 5 Dec 2010 16:08:12 +0000 (16:08 +0000)
includes/CategoryPage.php

index 682dda3..0ee9dba 100644 (file)
@@ -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 '';
        }