From: Max Semenik Date: Thu, 19 Apr 2018 01:43:02 +0000 (-0700) Subject: Hard-deprecate wfCountDown() X-Git-Tag: 1.34.0-rc.0~5654^2 X-Git-Url: https://git.cyclocoop.org/%27%20.%20%24this-%3EgetSkin%28%29-%3EescapeSearchLink%28%29%20.%20%27?a=commitdiff_plain;h=686de25786d9891c2e5bdd7194a07bc707e07733;p=lhc%2Fweb%2Fwiklou.git Hard-deprecate wfCountDown() Deprecated in 1.31, the only callers left are in BlueSpice. Change-Id: I3d59b0967c161eff0190a6f577e571230a7e7a2f --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 1a3f50ac43..be6109c181 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3035,6 +3035,7 @@ function wfWaitForSlaves( * @param int $seconds */ function wfCountDown( $seconds ) { + wfDeprecated( __FUNCTION__, '1.31' ); for ( $i = $seconds; $i >= 0; $i-- ) { if ( $i != $seconds ) { echo str_repeat( "\x08", strlen( $i + 1 ) );