mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
DbUserGroupBackend: Remove unnecessary (! $groupName) check
This commit is contained in:
parent
54b3539896
commit
61b827a43c
@ -271,7 +271,7 @@ class DbUserGroupBackend extends DbRepository implements Inspectable, UserGroupB
|
|||||||
*/
|
*/
|
||||||
protected function persistGroupId($groupName)
|
protected function persistGroupId($groupName)
|
||||||
{
|
{
|
||||||
if (! $groupName || empty($groupName) || is_numeric($groupName)) {
|
if (empty($groupName) || is_numeric($groupName)) {
|
||||||
return $groupName;
|
return $groupName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user