From: Max Semenik Date: Thu, 12 Oct 2017 02:42:18 +0000 (-0700) Subject: Hard deprecate wfShellExecDisabled() X-Git-Tag: 1.31.0-rc.0~1808 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=009764c0aef9827ee470120ecb294cc0cd56de86;p=lhc%2Fweb%2Fwiklou.git Hard deprecate wfShellExecDisabled() No users anywhere, only ever had 1 caller outside of core. Change-Id: I1361d3b555b642b75ec58f071a02407a611b44f9 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 069e1beea4..d53e98dbe1 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2259,6 +2259,7 @@ function wfEscapeShellArg( /*...*/ ) { * @deprecated since 1.30 use MediaWiki\Shell::isDisabled() */ function wfShellExecDisabled() { + wfDeprecated( __FUNCTION__, '1.30' ); return Shell::isDisabled() ? 'disabled' : false; }