summaryrefslogtreecommitdiff
path: root/include/errorhandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/errorhandler.php')
-rw-r--r--include/errorhandler.php3
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();