errorhandler: remove unneeded stuff
This commit is contained in:
parent
7a51032cab
commit
77be1217e5
1 changed files with 1 additions and 6 deletions
|
@ -22,11 +22,6 @@ function ttrss_error_handler($errno, $errstr, $file, $line, $context) {
|
|||
function ttrss_fatal_handler() {
|
||||
global $logger;
|
||||
|
||||
$file = "UNKNOWN FILE";
|
||||
$errstr = "UNKNOWN";
|
||||
$errno = E_CORE_ERROR;
|
||||
$line = -1;
|
||||
|
||||
$error = error_get_last();
|
||||
|
||||
if ($error !== NULL) {
|
||||
|
|
Loading…
Reference in a new issue