UserBackend: Utilize ResourceFactory::create
This commit is contained in:
parent
c9dcddb134
commit
a1d8ed6e8f
|
@ -183,7 +183,7 @@ abstract class UserBackend implements Countable
|
|||
$name
|
||||
);
|
||||
}
|
||||
$resource = ResourceFactory::createResource(ResourceFactory::getResourceConfig($backendConfig->resource));
|
||||
$resource = ResourceFactory::create($backendConfig->resource);
|
||||
|
||||
switch ($backendType) {
|
||||
case 'db':
|
||||
|
|
Loading…
Reference in New Issue