DbUserGroupBackend: Remove unnecessary (! $groupName) check

This commit is contained in:
Sukhwinder Dhillon 2023-08-15 16:36:11 +02:00 committed by raviks789
parent 54b3539896
commit 61b827a43c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}