Skip to content
Snippets Groups Projects
Unverified Commit dc515484 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Remove legacy PHP 5.3 code

parent adc79246
No related branches found
No related tags found
No related merge requests found
......@@ -31,15 +31,6 @@ set_exception_handler('SimpleSAML_exception_handler');
// log full backtrace on errors and warnings
function SimpleSAML_error_handler($errno, $errstr, $errfile = null, $errline = 0, $errcontext = null)
{
if (!class_exists('\SimpleSAML\Logger')) {
/* We are probably logging a deprecation-warning during parsing. Unfortunately, the autoloader is disabled at
* this point, so we should stop here.
*
* See PHP bug: https://bugs.php.net/bug.php?id=47987
*/
return false;
}
if (\SimpleSAML\Logger::isErrorMasked($errno)) {
// masked error
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment