From: Chad Horohoe Date: Mon, 22 Sep 2008 17:01:44 +0000 (+0000) Subject: Call Xml class directly, rather than the global function. X-Git-Tag: 1.31.0-rc.0~45136 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=8b9e04434fe17d4669ca6c4a5aff1ab54d0e2420;p=lhc%2Fweb%2Fwiklou.git Call Xml class directly, rather than the global function. --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 1db5553f31..ca917f213c 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -3822,7 +3822,7 @@ class Parser * @return mixed An expanded string, or false if invalid. */ function validateSig( $text ) { - return( wfIsWellFormedXmlFragment( $text ) ? $text : false ); + return( Xml::isWellFormedXmlFragment( $text ) ? $text : false ); } /** diff --git a/includes/parser/Parser_OldPP.php b/includes/parser/Parser_OldPP.php index 8b703371fc..415ef23fdf 100644 --- a/includes/parser/Parser_OldPP.php +++ b/includes/parser/Parser_OldPP.php @@ -3887,7 +3887,7 @@ class Parser_OldPP * @return mixed An expanded string, or false if invalid. */ function validateSig( $text ) { - return( wfIsWellFormedXmlFragment( $text ) ? $text : false ); + return( Xml::isWellFormedXmlFragment( $text ) ? $text : false ); } /**