mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
(acl) refactor external attribute description on pluggable acl's
This commit is contained in:
parent
65b3f738bd
commit
1a49758a01
@ -112,8 +112,9 @@ class ACL
|
||||
if (isset($ACLnode->name)) {
|
||||
$aclPayload = array();
|
||||
$aclPayload['name'] = (string)$ACLnode->name;
|
||||
if (isset($ACLnode->desc)) {
|
||||
$aclPayload['desc'] = (string)$ACLnode->desc;
|
||||
if (isset($ACLnode->description)) {
|
||||
// rename internal tag for backward compat.
|
||||
$aclPayload['desc'] = (string)$ACLnode->description;
|
||||
}
|
||||
if (isset($ACLnode->patterns->pattern)) {
|
||||
// rename pattern to match for internal usage, old code did use match and
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user