summaryrefslogtreecommitdiff
path: root/community/mythplugins/php55.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mythplugins/php55.patch')
-rw-r--r--community/mythplugins/php55.patch22
1 files changed, 0 insertions, 22 deletions
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?