Revert "bug #10817 [Debug] fix #10313: FlattenException not found (nicolas-grekas)"

reverted in 2.5 as it does not make sense here.

This reverts commit c18bf19016, reversing
changes made to 585b61db95.
This commit is contained in:
Fabien Potencier 2014-04-30 08:24:35 +02:00
parent 49bc4f1469
commit afca3cdf2d

View File

@ -165,9 +165,6 @@ class ErrorHandler
return true;
}
if (!class_exists('Symfony\Component\Debug\Exception\FlattenException')) {
require __DIR__.'/Exception/FlattenException.php';
}
if (PHP_VERSION_ID < 50400 && isset($context['GLOBALS']) && is_array($context)) {
unset($context['GLOBALS']);