function advuser_admin_access in Advanced User 6.2
Same name and namespace in other branches
- 6.3 advuser.module \advuser_admin_access()
1 string reference to 'advuser_admin_access'
- advuser_menu in ./
advuser.module - Implementation of hook_menu().
File
- ./
advuser.module, line 76 - Advanced user module allows you to select users based on an advanced set of filtering and apply actions to block, unblock, delete or email the selected users.
Code
function advuser_admin_access() {
$accesses = func_get_args();
if (empty($accesses)) {
$accesses = array(
'access advuser',
);
}
foreach ($accesses as $access) {
$ret = user_access($access);
if (!$ret) {
break;
}
}
return $ret;
}