From 60c1c139b89555f9b56ce3915c857f524dc9ab74 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 26 Apr 2008 04:00:03 +0000 Subject: [PATCH] protected --- includes/SpecialNewpages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 : ''; } -- 2.20.1