summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-01-23 10:39:57 +0100
committerGitHub <noreply@github.com>2017-01-23 10:39:57 +0100
commitb81060c7fdf1bb2baac865ae047a20e94b2a958a (patch)
tree2af2e87ea87b1c4dd5b3ee024bfa9cabad5e72ce /system/core
parent44c7af639ac1726780b64fb5a6cb6fca2df8b651 (diff)
parent674d3657e917f83874dca7239cd3a988a5e0b693 (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.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 2712df0e4..5c6f88ef9 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -409,11 +409,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