From: Aryeh Gregor Date: Wed, 13 Aug 2008 01:53:03 +0000 (+0000) Subject: (bug 15128) Documentation for xmlEncode is wrong, it's not static. X-Git-Tag: 1.31.0-rc.0~45929 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=46727906bb3491394854dd5ef877bbb459383a91;p=lhc%2Fweb%2Fwiklou.git (bug 15128) Documentation for xmlEncode is wrong, it's not static. --- diff --git a/includes/Feed.php b/includes/Feed.php index 512057d937..21e8f084f5 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -52,9 +52,6 @@ class FeedItem { $this->Comments = $Comments; } - /** - * @static - */ function xmlEncode( $string ) { $string = str_replace( "\r\n", "\n", $string ); $string = preg_replace( '/[\x00-\x08\x0b\x0c\x0e-\x1f]/', '', $string );