From: Chad Horohoe Date: Tue, 6 Jul 2010 20:56:37 +0000 (+0000) Subject: Remove a few functions that have been labelled deprecated forever and have no callers... X-Git-Tag: 1.31.0-rc.0~36236 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=18d45df0924031a79191bcc50ef173f90c14cd7d;p=lhc%2Fweb%2Fwiklou.git Remove a few functions that have been labelled deprecated forever and have no callers anywhere --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index fa52854a33..62bed63742 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2456,13 +2456,6 @@ function wfUseMW( $req_ver ) { throw new MWException( "MediaWiki $req_ver required--this is only $wgVersion" ); } -/** - * @deprecated use StringUtils::escapeRegexReplacement - */ -function wfRegexReplacement( $string ) { - return StringUtils::escapeRegexReplacement( $string ); -} - /** * Return the final portion of a pathname. * Reimplemented because PHP5's basename() is buggy with multibyte text. @@ -2674,13 +2667,6 @@ function wfDoUpdates() $wgPostCommitUpdateList = array(); } -/** - * @deprecated use StringUtils::explodeMarkup - */ -function wfExplodeMarkup( $separator, $text ) { - return StringUtils::explodeMarkup( $separator, $text ); -} - /** * Convert an arbitrarily-long digit string from one numeric base * to another, optionally zero-padding to a minimum column width. @@ -2795,15 +2781,6 @@ function wfCreateObject( $name, $p ){ } } -/** - * Alias for modularized function - * @deprecated Use Http::isLocalURL() instead - */ -function wfIsLocalURL( $url ) { - wfDeprecated(__FUNCTION__); - return Http::isLocalURL( $url ); -} - function wfHttpOnlySafe() { global $wgHttpOnlyBlacklist; if( !version_compare("5.2", PHP_VERSION, "<") )