function activity_user_privacy_optout in Activity 5.3
Same name and namespace in other branches
- 5.4 activity.module \activity_user_privacy_optout()
- 6 activity.module \activity_user_privacy_optout()
check if user has activity privacy optout set
File
- ./
activity.module, line 668 - Activity module: Allow users to see their friends' activity on the site.
Code
function activity_user_privacy_optout($user) {
if (variable_get('activity_user_optout', 0) && $user->activity_optout) {
return TRUE;
}
return FALSE;
}