WebStart: Remove deprecated $wgRequestTime
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 17 Apr 2018 22:17:39 +0000 (23:17 +0100)
committerKrinkle <krinklemail@gmail.com>
Tue, 17 Apr 2018 23:00:32 +0000 (23:00 +0000)
This variable is not read anywhere in Wikimedia Git.

Follows-up 06ba5ca383e2.

Bug: T189966
Change-Id: Ib86ebc44b12fee3a986838c5a302540b97066e5a

RELEASE-NOTES-1.32
includes/WebStart.php

index 941cf3f..de41aa4 100644 (file)
@@ -40,7 +40,8 @@ changes to languages because of Phabricator reports.
 * …
 
 === Breaking changes in 1.32 ===
-* …
+* $wgRequestTime (deprecated in 1.25) was removed.
+  Use $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
 
 === Deprecations in 1.32 ===
 * Use of a StartProfiler.php file is deprecated in favour of placing
index 6f3aa71..b24ff7a 100644 (file)
@@ -34,13 +34,6 @@ if ( ini_get( 'mbstring.func_overload' ) ) {
 # points and when $wgOut gets disabled or overridden.
 header( 'X-Content-Type-Options: nosniff' );
 
-/**
- * @var float Request start time as fractional seconds since epoch
- * @deprecated since 1.25; use $_SERVER['REQUEST_TIME_FLOAT'] or
- *   WebRequest::getElapsedTime() instead.
- */
-$wgRequestTime = $_SERVER['REQUEST_TIME_FLOAT'];
-
 # Valid web server entry point, enable includes.
 # Please don't move this line to includes/Defines.php. This line essentially
 # defines a valid entry point. If you put it in includes/Defines.php, then