From 18d45df0924031a79191bcc50ef173f90c14cd7d Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 6 Jul 2010 20:56:37 +0000 Subject: [PATCH] Remove a few functions that have been labelled deprecated forever and have no callers anywhere --- includes/GlobalFunctions.php | 23 ----------------------- 1 file changed, 23 deletions(-) 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, "<") ) -- 2.20.1