function comment_notify_get_user_node_notify_preference in Comment Notify 7
Get a user's default preference for node update notification.
This is notification on nodes where the user is the author.
Parameters
int $uid:
Return value
int
File
- ./
comment_notify.inc, line 92 - Contains functions which utilize the database and other internal helpers.
Code
function comment_notify_get_user_node_notify_preference($uid) {
$setting = comment_notify_get_user_notification_setting($uid);
if (!$setting) {
$setting = comment_notify_get_default_notification_setting();
}
return $setting->node_notify;
}