function sf_notifications_fieldmap_settings_access in Salesforce Suite 6.2
Same name and namespace in other branches
- 7.2 sf_notifications/sf_notifications.module \sf_notifications_fieldmap_settings_access()
1 string reference to 'sf_notifications_fieldmap_settings_access'
- sf_notifications_menu in sf_notifications/
sf_notifications.module - hook_menu implementation
File
- sf_notifications/
sf_notifications.module, line 97
Code
function sf_notifications_fieldmap_settings_access($fieldmap_id, $perm) {
$active = variable_get('sf_notifications_active_maps', array());
if (!empty($active[$fieldmap_id])) {
return user_access($perm);
}
return FALSE;
}