X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FGlobalFunctions.php;h=4844531a1af6c78edc858c4f4be9313158f3e322;hb=bc23d6c4904f8c03ac348410f10a9c223422f1f3;hp=66201b5ee4139312def948dc02cf58bb13197edd;hpb=74174fca253b9a759d7402f09b7fc37d5de0e9be;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 66201b5ee4..4844531a1a 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -34,7 +34,7 @@ use MediaWiki\Session\SessionManager; /** * Compatibility functions * - * We support PHP 5.3.3 and up. + * We support PHP 5.5.9 and up. * Re-implementations of newer functions or functions in non-standard * PHP extensions may be included here. */ @@ -92,19 +92,6 @@ if ( !function_exists( 'mb_strrpos' ) ) { } } -// gzdecode function only exists in PHP >= 5.4.0 -// http://php.net/gzdecode -if ( !function_exists( 'gzdecode' ) ) { - /** - * @codeCoverageIgnore - * @param string $data - * @return string - */ - function gzdecode( $data ) { - return gzinflate( substr( $data, 10, -8 ) ); - } -} - // hash_equals function only exists in PHP >= 5.6.0 // http://php.net/hash_equals if ( !function_exists( 'hash_equals' ) ) {