mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
UserGroupBackend: Fix Variable '$backend' is probably undefined
This commit is contained in:
parent
61b827a43c
commit
e3b89184ae
@ -170,6 +170,7 @@ class UserGroupBackend
|
|||||||
$resourceConfig->charset = 'utf8mb4';
|
$resourceConfig->charset = 'utf8mb4';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$backend = null;
|
||||||
$resource = ResourceFactory::createResource($resourceConfig);
|
$resource = ResourceFactory::createResource($resourceConfig);
|
||||||
switch ($backendType) {
|
switch ($backendType) {
|
||||||
case 'db':
|
case 'db':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user