summaryrefslogtreecommitdiffstats
path: root/system/core/Log.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/core/Log.php
parent26313bddee1fb67af10141671a47bbe703a025fd (diff)
Drop all PHP 5.3-related code
Diffstat (limited to 'system/core/Log.php')
-rw-r--r--system/core/Log.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/system/core/Log.php b/system/core/Log.php
index cf6c75a95..902162647 100644
--- a/system/core/Log.php
+++ b/system/core/Log.php
@@ -283,9 +283,6 @@ class CI_Log {
{
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');
}