function legal_access in Legal 5
Same name and namespace in other branches
- 6.8 legal.module \legal_access()
- 6.7 legal.module \legal_access()
- 7.2 legal.module \legal_access()
- 7 legal.module \legal_access()
File
- ./
legal.module, line 22
Code
function legal_access($op, $node) {
if ($op == 'view' && (user_access('view Terms and Conditions') || user_access('administer Terms and Conditions'))) {
return TRUE;
}
}