From 40d56dd8f5a2e3db343adadfed41bb1163f2e580 Mon Sep 17 00:00:00 2001 From: vargenau Date: Wed, 4 Mar 2015 15:59:35 +0000 Subject: [PATCH] Remove commented code git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@9598 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/ErrorManager.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/lib/ErrorManager.php b/lib/ErrorManager.php index e3d668839..ad3292c4d 100644 --- a/lib/ErrorManager.php +++ b/lib/ErrorManager.php @@ -2,19 +2,8 @@ if (isset($GLOBALS['ErrorManager'])) return; -// php5: ignore E_STRICT (var warnings) -/* -if (defined('E_STRICT') - and (E_ALL & E_STRICT) - and (error_reporting() & E_STRICT)) { - echo " errormgr: error_reporting=", error_reporting(); - echo "\nplease fix that in your php.ini!"; - error_reporting(E_ALL & ~E_STRICT); -} -*/ define ('EM_FATAL_ERRORS', E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | ~2048 & (~E_DEPRECATED)); -define ('EM_WARNING_ERRORS', - E_WARNING | E_CORE_WARNING | E_COMPILE_WARNING | E_USER_WARNING | E_DEPRECATED); +define ('EM_WARNING_ERRORS', E_WARNING | E_CORE_WARNING | E_COMPILE_WARNING | E_USER_WARNING | E_DEPRECATED); define ('EM_NOTICE_ERRORS', E_NOTICE | E_USER_NOTICE); /* It is recommended to leave assertions on. @@ -82,7 +71,6 @@ class ErrorManager PrintXML($this->_flush_errors($newmask)); else echo($this->_flush_errors($newmask)); - } /** @@ -304,7 +292,6 @@ class ErrorManager private function _die($error) { global $WikiTheme; - //echo "\n\n"; $error->printXML(); PrintXML($this->_flush_errors()); if ($this->_fatal_handler) -- 2.45.0