diff options
author | Andrey Andreev <narf@devilix.net> | 2017-01-23 10:39:57 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-01-23 10:58:47 +0100 |
commit | 56f59bdd609b58f3f3826d41b6286882cb26665b (patch) | |
tree | 471307bdfc1d7d052bb1f74db887fcfe47ebc575 /system/core | |
parent | 4316a157c27a3721dbfd8a817bf8cbffb1fe371f (diff) |
Merge pull request #4991 from verkhoumov/develop
Removed dead code from show_error()
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Common.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/system/core/Common.php b/system/core/Common.php index 0c6e2272e..8437f7926 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -410,11 +410,6 @@ if ( ! function_exists('show_error')) if ($status_code < 100) { $exit_status = $status_code + 9; // 9 is EXIT__AUTO_MIN - if ($exit_status > 125) // 125 is EXIT__AUTO_MAX - { - $exit_status = 1; // EXIT_ERROR - } - $status_code = 500; } else |