You are here

function flag_lists_user in Flag Lists 6

Implementation of hook_user().

File

./flag_lists.module, line 409
The Flag Lists module.

Code

function flag_lists_user($op, &$edit, &$account, $category = NULL) {
  switch ($op) {
    case 'delete':

      // Remove personal flags by this user.
      $result = db_query("DELETE FROM {flag_lists_flags} WHERE uid = %d", $account->uid);
      break;
  }
}