Commit 1a49758a authored by Ad Schellevis's avatar Ad Schellevis

(acl) refactor external attribute description on pluggable acl's

parent 65b3f738
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment