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