You are here

function notify_user in Notify 5.2

Same name and namespace in other branches
  1. 5 notify.module \notify_user()
  2. 6 notify.module \notify_user()

Implementation of hook_user().

File

./notify.module, line 85

Code

function notify_user($type, &$edit, &$user, $category = NULL) {
  switch ($type) {
    case 'delete':
      db_query('DELETE FROM {notify} WHERE uid = %d', $user->uid);
      break;
  }
}