summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-05-23 18:26:18 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-05-23 18:26:18 +0200
commit37294771ef8cdb0c2d4834783ad79a6bdbc96d77 (patch)
tree0b9d2debc7a3d341112c50752d99a1c8eef3793b /system
parente0d54645b59026ac367b7c8bc425d7005480e47d (diff)
parent94e74bf0f8ae82a28c70fe1a3cb76a01f6c50fd8 (diff)
Merge pull request #1365 from sourcejedi/e_strict
If we want E_STRICT, don't suppress it.
Diffstat (limited to 'system')
-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 8b897776f..4b733ac97 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