X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FGlobalFunctions.php;h=a6cfa0f6537e99d737de77357ad9bbdc2a65fd31;hb=7049236d2804c52639abae01d266d3ecaaff480f;hp=125b917caad71ec305b2433918778ed8a90c1a07;hpb=2c306b5fdf66ec223afd1f3b984e3693942e33fe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 125b917caa..a6cfa0f653 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1127,7 +1127,6 @@ function wfLogProfilingData() { if ( isset( $ctx['forwarded_for'] ) || isset( $ctx['client_ip'] ) || isset( $ctx['from'] ) ) { - // @phan-suppress-next-line PhanTypeArraySuspiciousNullable $ctx['proxy'] = $_SERVER['REMOTE_ADDR']; } @@ -1915,10 +1914,12 @@ function wfIsWindows() { /** * Check if we are running under HHVM * + * @deprecated since 1.34, HHVM is no longer supported * @return bool */ function wfIsHHVM() { - return defined( 'HHVM_VERSION' ); + // wfDeprecated( __FUNCTION__, '1.34' ); + return false; } /**