Commit bd22274f authored by Manfred Kutas's avatar Manfred Kutas

ZP-691 Remove legacy stuff - rename custom error handler to

zpush_error_handler.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 12e21898
...@@ -298,7 +298,7 @@ class ZLog { ...@@ -298,7 +298,7 @@ class ZLog {
if (!defined('E_DEPRECATED')) define(E_DEPRECATED, 8192); if (!defined('E_DEPRECATED')) define(E_DEPRECATED, 8192);
// TODO review error handler // TODO review error handler
function zarafa_error_handler($errno, $errstr, $errfile, $errline, $errcontext) { function zpush_error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
$bt = debug_backtrace(); $bt = debug_backtrace();
switch ($errno) { switch ($errno) {
case E_DEPRECATED: case E_DEPRECATED:
...@@ -327,7 +327,7 @@ function zarafa_error_handler($errno, $errstr, $errfile, $errline, $errcontext) ...@@ -327,7 +327,7 @@ function zarafa_error_handler($errno, $errstr, $errfile, $errline, $errcontext)
} }
error_reporting(E_ALL); error_reporting(E_ALL);
set_error_handler("zarafa_error_handler"); set_error_handler("zpush_error_handler");
function zpush_fatal_handler() { function zpush_fatal_handler() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment