]> git.wh0rd.org - tt-rss.git/blobdiff - include/errorhandler.php
minor css fixes (mostly for zoom mode)
[tt-rss.git] / include / errorhandler.php
index f757b68d1cbbb3ae2a0111c9daa29ff101940239..95c9edc69df9ac7b8ad3f414741a844a88b3fe6c 100644 (file)
@@ -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();
@@ -74,4 +71,4 @@ function ttrss_fatal_handler() {
 
 register_shutdown_function('ttrss_fatal_handler');
 set_error_handler('ttrss_error_handler');
-?>
+