Remove deprecated function wfShellExecDisabled()
authorMax Semenik <maxsem.wiki@gmail.com>
Thu, 19 Apr 2018 01:41:00 +0000 (18:41 -0700)
committerMax Semenik <maxsem.wiki@gmail.com>
Thu, 19 Apr 2018 01:41:00 +0000 (18:41 -0700)
Deprecated in 1.30, never had many callers.

Change-Id: Ie77c3df696313f691a68f21b15804539ffcc7f88

RELEASE-NOTES-1.32
includes/GlobalFunctions.php

index 532aeda..7971bcc 100644 (file)
@@ -49,6 +49,7 @@ changes to languages because of Phabricator reports.
 * QuickTemplate::setTranslator() was removed (deprecated in 1.31).
   Use Skin::msg() instead.
 * wfInitShellLocale() was removed (deprecated in 1.30).
+* wfShellExecDisabled() was removed (deprecated in 1.30).
 
 === Deprecations in 1.32 ===
 * Use of a StartProfiler.php file is deprecated in favour of placing
index 06f95ac..1a3f50a 100644 (file)
@@ -2269,18 +2269,6 @@ function wfEscapeShellArg( /*...*/ ) {
        return call_user_func_array( Shell::class . '::escape', $args );
 }
 
-/**
- * Check if wfShellExec() is effectively disabled via php.ini config
- *
- * @return bool|string False or 'disabled'
- * @since 1.22
- * @deprecated since 1.30 use MediaWiki\Shell::isDisabled()
- */
-function wfShellExecDisabled() {
-       wfDeprecated( __FUNCTION__, '1.30' );
-       return Shell::isDisabled() ? 'disabled' : false;
-}
-
 /**
  * Execute a shell command, with time and memory limits mirrored from the PHP
  * configuration if supported.