You are here

function comment_notify_delete_user_notification_setting in Comment Notify 7

Remove comment notification preferences for a user.

Parameters

int $uid:

Return value

bool

1 call to comment_notify_delete_user_notification_setting()
comment_notify_user_cancel in ./comment_notify.module

File

./comment_notify.inc, line 62
Contains functions which utilize the database and other internal helpers.

Code

function comment_notify_delete_user_notification_setting($uid) {
  return (bool) db_delete('comment_notify_user_settings')
    ->condition('uid', $uid)
    ->execute();
}