summaryrefslogtreecommitdiffstats
path: root/system/libraries/Zip.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-12-14 15:14:13 +0100
committerAndrey Andreev <narf@devilix.net>2016-12-14 15:14:13 +0100
commit24c866628d0ce5463d7e8b4eba512fa9e7752dfd (patch)
tree39d65288647ecaae09e2b9bc6a15e34e53f7d7d4 /system/libraries/Zip.php
parent26313bddee1fb67af10141671a47bbe703a025fd (diff)
Drop all PHP 5.3-related code
Diffstat (limited to 'system/libraries/Zip.php')
-rw-r--r--system/libraries/Zip.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php
index 25315c92e..82a43e9c9 100644
--- a/system/libraries/Zip.php
+++ b/system/libraries/Zip.php
@@ -519,9 +519,6 @@ class CI_Zip {
{
if (self::$func_override)
{
- // mb_substr($str, $start, null, '8bit') returns an empty
- // string on PHP 5.3
- isset($length) OR $length = ($start >= 0 ? self::strlen($str) - $start : -$start);
return mb_substr($str, $start, $length, '8bit');
}