diff --git a/lib/_autoload_modules.php b/lib/_autoload_modules.php index e17c187dd0f85455a5ec46c0c90803d2983b3395..f1fa4259009ad06c9f9b07cadc1235600b66bbbc 100644 --- a/lib/_autoload_modules.php +++ b/lib/_autoload_modules.php @@ -26,8 +26,8 @@ function temporaryLoader($class) $path = explode('_', $class); $new = join('\\', $path); if (class_exists($new, false)) { - SimpleSAML\Logger::warning("The class '$class' is now using namespaces, please use '$new'."); class_alias($new, $class); + SimpleSAML\Logger::warning("The class '$class' is now using namespaces, please use '$new'."); } $file = dirname(__FILE__).DIRECTORY_SEPARATOR.join(DIRECTORY_SEPARATOR, $path).'.php';