[BUGFIX] getAllowedItems called with one parameter too much
[Packages/TYPO3.CMS.git] / index.php
index 8027c0d..70b82bc 100644 (file)
--- a/index.php
+++ b/index.php
 // Set error reporting
 // *******************************
 
-if (defined('E_DEPRECATED')) {
-       error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
-} else {
-       error_reporting(E_ALL ^ E_NOTICE);
-}
+error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
 
 
 // ******************