need to remove E_DEPRECATED when autoloading files
authorChuck Hagenbuch <chuck@horde.org>
Mon, 30 Mar 2009 03:04:44 +0000 (23:04 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 30 Mar 2009 03:04:44 +0000 (23:04 -0400)
framework/Autoloader/lib/Horde/Autoloader.php

index 539d523..0d36ce7 100644 (file)
@@ -46,7 +46,7 @@ class Horde_Autoloader
 
             if (!is_null($replace) || preg_match($pattern, $file)) {
                 $file = str_replace(array('::', '_'), '/', $file) . '.php';
-                $oldErrorReporting = error_reporting(E_ALL ^ E_WARNING);
+                $oldErrorReporting = error_reporting(E_ALL ^ E_WARNING ^ E_DEPRECATED);
                 /* @TODO H4: Change back to include */
                 $included = include_once $file;
                 error_reporting($oldErrorReporting);