From: Sam Reed Date: Sat, 30 Oct 2010 21:31:22 +0000 (+0000) Subject: Mark a few more methods static X-Git-Tag: 1.31.0-rc.0~34197 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=51abde1a00d08bdd5e4bbd8a0dc77ed1a6a31bf9;p=lhc%2Fweb%2Fwiklou.git Mark a few more methods static Seems I forgot to commit this --- diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index e948ce9aa1..8213e6e3a6 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -443,7 +443,7 @@ class CategoryViewer { * @return String * @private */ - function columnList( $articles, $articles_start_char ) { + static function columnList( $articles, $articles_start_char ) { $columns = array_combine( $articles, $articles_start_char ); # Split into three columns $columns = array_chunk( $columns, ceil( count( $columns ) / 3 ), true /* preserve keys */ ); @@ -495,7 +495,7 @@ class CategoryViewer { * @return String * @private */ - function shortList( $articles, $articles_start_char ) { + static function shortList( $articles, $articles_start_char ) { $r = '

' . htmlspecialchars( $articles_start_char[0] ) . "

\n"; $r .= '