[Model] [Acl] removed useless else clause in Entry::toAclEntry().
This commit is contained in:
parent
412a3cfa9e
commit
070ba6ba50
1 changed files with 2 additions and 2 deletions
|
|
@ -73,8 +73,8 @@ class Entry extends BaseEntry
|
|||
{
|
||||
if (null === $modelEntry->getFieldName()) {
|
||||
return new AclEntry($modelEntry, $acl);
|
||||
} else {
|
||||
return new AclFieldEntry($modelEntry, $acl);
|
||||
}
|
||||
|
||||
return new AclFieldEntry($modelEntry, $acl);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue