From: Aaron Schulz Date: Sat, 26 Apr 2008 04:00:03 +0000 (+0000) Subject: protected X-Git-Tag: 1.31.0-rc.0~48065 X-Git-Url: https://git.cyclocoop.org/?a=commitdiff_plain;h=60c1c139b89555f9b56ce3915c857f524dc9ab74;hp=1e23b9f54b3aa7c701053b40f78f468155a5fe98;p=lhc%2Fweb%2Fwiklou.git protected --- diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index ca3a79af27..617c0559df 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -300,11 +300,11 @@ class NewPagesForm { /** * Quickie hack... strip out wikilinks to more legible form from the comment. */ - function stripComment( $text ) { + protected function stripComment( $text ) { return preg_replace( '/\[\[([^]]*\|)?([^]]+)\]\]/', '\2', $text ); } - function feedItemAuthor( $row ) { + protected function feedItemAuthor( $row ) { return isset( $row->rc_user_text ) ? $row->rc_user_text : ''; }