mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +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)
|
||||
{
|
||||
if (! $groupName || empty($groupName) || is_numeric($groupName)) {
|
||||
if (empty($groupName) || is_numeric($groupName)) {
|
||||
return $groupName;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user