function _node_gallery_give_all_users_permission in Node Gallery 6.3
2 calls to _node_gallery_give_all_users_permission()
File
- ./
node_gallery.install, line 495 - Install, update and uninstall functions for the node_gallery module.
Code
function _node_gallery_give_all_users_permission($permissions) {
$rids = array(
DRUPAL_ANONYMOUS_RID,
DRUPAL_AUTHENTICATED_RID,
);
foreach ($rids as $rid) {
_node_gallery_add_permissions($rid, $permissions);
}
}