From: Max Semenik Date: Thu, 19 Apr 2018 01:45:47 +0000 (-0700) Subject: Hard-deprecate wfUsePHP() X-Git-Tag: 1.31.0-rc.0~21 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=23b834729383e296701e42dce03357ee8858618d;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 7667a9e52a..0152209d07 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2514,6 +2514,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, '<' ) ) {