summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>2012-05-16 18:20:56 +0200
committerAlan Jenkins <alan.christopher.jenkins@gmail.com>2012-05-16 18:20:56 +0200
commit94e74bf0f8ae82a28c70fe1a3cb76a01f6c50fd8 (patch)
tree4b53d8c816b33d276c0cee0f82cb9d3f6c5a6418
parent8279420f989a8cda4427c3983ee919c6a1073dd7 (diff)
If we want E_STRICT, don't suppress it!
15be8fc "Changed the 'development' environment default error reporting to included E_STRICT" Not present in any tagged release, so no need for -stable or a changlelog entry.
-rw-r--r--system/core/Common.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index 78aa6e874..ec94c528b 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -487,16 +487,6 @@ if ( ! function_exists('_exception_handler'))
*/
function _exception_handler($severity, $message, $filepath, $line)
{
- // We don't bother with "strict" notices since they tend to fill up
- // the log file with excess information that isn't normally very helpful.
- // For example, if you are running PHP 5 and you use version 4 style
- // class functions (without prefixes like "public", "private", etc.)
- // you'll get notices telling you that these have been deprecated.
- if ($severity == E_STRICT)
- {
- return;
- }
-
$_error =& load_class('Exceptions', 'core');
// Should we display the error? We'll get the current error_reporting