Skip to content
Snippets Groups Projects
Commit 619e888c authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Bugfix.

parent 06b67175
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ function temporaryLoader($class) ...@@ -37,7 +37,7 @@ function temporaryLoader($class)
// it didn't exist, try to see if it was migrated to namespaces // it didn't exist, try to see if it was migrated to namespaces
$new = join('\\', $path); $new = join('\\', $path);
if (class_exists($new, false) || interface_exists($class, false)) { if (class_exists($new, false) || interface_exists($new, false)) {
// do not try to autoload it if it doesn't exist! It should! // do not try to autoload it if it doesn't exist! It should!
class_alias($new, $class); class_alias($new, $class);
SimpleSAML\Logger::warning("The class or interface '$class' is now using namespaces, please use '$new'."); SimpleSAML\Logger::warning("The class or interface '$class' is now using namespaces, please use '$new'.");
......
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