summaryrefslogtreecommitdiffstats
path: root/application/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries')
-rw-r--r--application/libraries/ExceptionHandler.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/application/libraries/ExceptionHandler.php b/application/libraries/ExceptionHandler.php
index 75cbb5c66..ed7f9b8c5 100644
--- a/application/libraries/ExceptionHandler.php
+++ b/application/libraries/ExceptionHandler.php
@@ -15,8 +15,6 @@ class ExceptionHandler {
set_error_handler(array("\libraries\ExceptionHandler", "error_handler"));
set_exception_handler(array("\libraries\ExceptionHandler", 'exception_handler'));
register_shutdown_function(array("\libraries\ExceptionHandler", "check_for_fatal"));
- assert_options(ASSERT_ACTIVE, true);
- assert_options(ASSERT_CALLBACK, array("\libraries\ExceptionHandler", '_assert_failure'));
}
static function error_handler($errno, $errstr, $errfile, $errline)
@@ -145,10 +143,4 @@ class ExceptionHandler {
}
}
- static public function assert_failure($file, $line, $expr, $message = "")
- {
- self::exception_handler(new Exception("assert($expr): Assertion failed in $file at line $line".($message != "" ? " with message: '$message'" : "")));
- exit(1);
- }
-
}