Skip to content
Snippets Groups Projects
Commit f6d0d57a authored by Kevin Paxman's avatar Kevin Paxman Committed by Lily Yan
Browse files

ISTWCMS-4967: code standards

parent 93955414
No related branches found
No related tags found
1 merge request!132ISTWCMS-4967: allow content roles to use draggable views
...@@ -368,7 +368,7 @@ function uw_cfg_common_update_8102() { ...@@ -368,7 +368,7 @@ function uw_cfg_common_update_8102() {
'uw_role_site_manager', 'uw_role_site_manager',
'uw_role_site_owner', 'uw_role_site_owner',
]; ];
foreach($roles as $role_name) { foreach ($roles as $role_name) {
$role_object = Role::load($role_name); $role_object = Role::load($role_name);
$role_object->grantPermission('access draggableviews'); $role_object->grantPermission('access draggableviews');
$role_object->save(); $role_object->save();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment