- Fixed a bug where LDAP entities were crashing the storage interface
This commit is contained in:
1 parent
f6fadd715e
commit
23af120020
7 files changed
+81
-4
No files matched your search
@@ -22,6 +22,11 @@ class DatabaseMigrations
|
||||
$name = $file->getBasename("." . $file->getExtension());
|
||||
$subNs = substr($file->getPath(), strlen($folder));
|
||||
$entity = rtrim($namespace, "\\") . ( $subNs ? "\\$subNs" : "" ) . "\\{$name}";
|
||||
|
||||
if ( ! method_exists($entity, 'resolveEntity') ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$this->entities[$entity] = $entity::resolveEntity();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user