From: Max Semenik Date: Thu, 19 Apr 2018 01:45:47 +0000 (-0700) Subject: Hard-deprecate wfUsePHP() X-Git-Tag: 1.34.0-rc.0~5653^2 X-Git-Url: https://git.cyclocoop.org/admin/%24wgScriptPath/%22%20%20%20%20%20%20%20%20%20.%20generer_url_ecrire%28?a=commitdiff_plain;h=c751f05d21cea2422722bc1a410a5b3ff0dad928;p=lhc%2Fweb%2Fwiklou.git Hard-deprecate wfUsePHP() Deprecated in 1.30, no callers anywhere. Change-Id: I5168234f4e8cfffbccc9dd43026255ee2dcd878d --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index be6109c181..519b22c009 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2559,6 +2559,7 @@ function wfDiff( $before, $after, $params = '-u' ) { * @throws MWException */ function wfUsePHP( $req_ver ) { + wfDeprecated( __FUNCTION__, '1.30' ); $php_ver = PHP_VERSION; if ( version_compare( $php_ver, (string)$req_ver, '<' ) ) {