function _simpleads_access_callback in SimpleAds 7
Menu access callback.
2 string references to '_simpleads_access_callback'
- simpleads_campaigns_menu in modules/
simpleads_campaigns/ simpleads_campaigns.module - Implements hook_menu().
- simpleads_menu in ./
simpleads.module - Implements hook_menu().
File
- ./
simpleads.module, line 374
Code
function _simpleads_access_callback() {
global $user;
if (user_access('access ad node') || user_access('administer nodes') && user_access('bypass node access')) {
return TRUE;
}
}