You are here

function role_expire_delete_user_records in Role Expire 6

Same name and namespace in other branches
  1. 7 role_expire.module \role_expire_delete_user_records()

API function; Delete all user expirations.

Parameters

$rid: Role ID.

$uid: User ID.

1 call to role_expire_delete_user_records()
role_expire_user in ./role_expire.module
Implementation of hook_user().

File

./role_expire.module, line 71
Role Expire module

Code

function role_expire_delete_user_records($uid) {
  db_query("DELETE FROM {role_expire} WHERE uid = %d", $uid);
}