diff options
author | Andrew Dolgov <[email protected]> | 2017-04-26 15:29:22 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-04-26 15:29:22 +0300 |
commit | 7b55001eeeb326323d020dcfac2f864f8c3ad633 (patch) | |
tree | 92b09e0349b49b1741a8b45172974addb136fbc5 /include/errorhandler.php | |
parent | b49bb441f4fc722911794e80366d37df626a5613 (diff) |
fix various issues reported by static analysis
update gitlab-ci config
Diffstat (limited to 'include/errorhandler.php')
-rw-r--r-- | include/errorhandler.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/errorhandler.php b/include/errorhandler.php index f757b68d1..bb2fbaee3 100644 --- a/include/errorhandler.php +++ b/include/errorhandler.php @@ -32,8 +32,6 @@ function format_backtrace($trace) { } function ttrss_error_handler($errno, $errstr, $file, $line, $context) { - global $logger; - if (error_reporting() == 0 || !$errno) return false; $file = substr(str_replace(dirname(dirname(__FILE__)), "", $file), 1); @@ -46,7 +44,6 @@ function ttrss_error_handler($errno, $errstr, $file, $line, $context) { } function ttrss_fatal_handler() { - global $logger; global $last_query; $error = error_get_last(); |