mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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…
x
Reference in New Issue
Block a user