function eu_cookie_compliance_update_6101 in EU Cookie Compliance (GDPR Compliance) 6
Same name and namespace in other branches
- 5 eu_cookie_compliance.install \eu_cookie_compliance_update_6101()
Implements hook_update_n().
File
- ./
eu_cookie_compliance.install, line 66 - Installation file.
Code
function eu_cookie_compliance_update_6101() {
$rids = array_keys(user_roles());
if (!empty($rids)) {
foreach ($rids as $rid) {
__eu_cookie_compliance_add_permissions($rid, 'see EU Cookie Compliance popup');
}
}
}