From 52f4e2f346587a61e599ed4623b70d199c0cc9f8 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 22 Dec 2016 11:14:07 -0800 Subject: [PATCH] Issue #2146 - Removed leftover error_reporting() calls. --- e107_handlers/login.php | 2 -- e107_plugins/chatbox_menu/chatbox_menu.php | 2 +- e107_plugins/forum/forum_update.php | 2 +- e107_plugins/metaweblog/metaweblog.php | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/e107_handlers/login.php b/e107_handlers/login.php index f7e39ca15..839ca0c33 100644 --- a/e107_handlers/login.php +++ b/e107_handlers/login.php @@ -13,8 +13,6 @@ if (!defined('e107_INIT')) { exit; } -error_reporting(E_ALL); - // require_once(e_HANDLER.'user_handler.php'); //shouldn't be necessary include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_login.php'); diff --git a/e107_plugins/chatbox_menu/chatbox_menu.php b/e107_plugins/chatbox_menu/chatbox_menu.php index dc7a0fd73..57cacfcc5 100644 --- a/e107_plugins/chatbox_menu/chatbox_menu.php +++ b/e107_plugins/chatbox_menu/chatbox_menu.php @@ -15,7 +15,7 @@ * @subpackage chatbox */ -error_reporting(E_ALL); + if(isset($_POST['chatbox_ajax'])) { define('e_MINIMAL',true); diff --git a/e107_plugins/forum/forum_update.php b/e107_plugins/forum/forum_update.php index 98fcd138f..fb6505955 100644 --- a/e107_plugins/forum/forum_update.php +++ b/e107_plugins/forum/forum_update.php @@ -19,7 +19,7 @@ if (!getperms('P')) exit ; } -error_reporting(E_ALL); + require_once (e_PLUGIN . 'forum/forum_class.php'); require_once (e_ADMIN . 'auth.php'); diff --git a/e107_plugins/metaweblog/metaweblog.php b/e107_plugins/metaweblog/metaweblog.php index cfdad35fe..452ab14e5 100644 --- a/e107_plugins/metaweblog/metaweblog.php +++ b/e107_plugins/metaweblog/metaweblog.php @@ -1,5 +1,5 @@