From 42fbe2d214b850ded06b23ca33f3aa2880e60dbb Mon Sep 17 00:00:00 2001 From: root Date: Fri, 20 Sep 2013 02:18:37 -0700 Subject: Fri Sep 20 02:14:49 PDT 2013 --- community/mythplugins/php55.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 community/mythplugins/php55.patch (limited to 'community/mythplugins/php55.patch') diff --git a/community/mythplugins/php55.patch b/community/mythplugins/php55.patch deleted file mode 100644 index eba7fd696..000000000 --- a/community/mythplugins/php55.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/mythweb/includes/errors.php -+++ b/mythweb/includes/errors.php -@@ -103,6 +103,9 @@ - /**/ - function error_handler($errno, $errstr, $errfile, $errline, $vars) { - global $db; -+ // Leave early if we haven't requested reports from this kind of error -+ if (!($errno & error_reporting())) -+ return; - if (class_exists('Translate')) - $errstr = Translate::find()->string($errstr); - // Try to auto-repair damaged SQL tables -@@ -113,9 +116,6 @@ - add_error('Regular Expression Error: '.$match[1]); - return; - } -- // Leave early if we haven't requested reports from this kind of error -- if (!($errno & error_reporting())) -- return; - // Fatal errors should report considerably more detail - if (in_array($errno, array(E_USER_ERROR, E_ERROR))) { - // What type of error? -- cgit v1.2.3-54-g00ecf