From 8b9e04434fe17d4669ca6c4a5aff1ab54d0e2420 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 22 Sep 2008 17:01:44 +0000 Subject: [PATCH] Call Xml class directly, rather than the global function. --- includes/parser/Parser.php | 2 +- includes/parser/Parser_OldPP.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ); } /** -- 2.20.1