dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93cd933
)
Remove gzdecode() polyfill from includes/GlobalFunctions.php
author
Ricordisamoa
<ricordisamoa@openmailbox.org>
Thu, 11 Feb 2016 14:45:42 +0000
(15:45 +0100)
committer
Umherirrender
<umherirrender_de.wp@web.de>
Thu, 11 Feb 2016 19:01:40 +0000
(19:01 +0000)
Unnecessary since PHP 5.4.0
Change-Id: I8423b792488e3b3326ef9b702f1b84c9a2137952
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
66201b5
..
1d9179f
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-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' ) ) {