You are here

function role_expire_delete_default_duration in Role Expire 6

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

API function; Delete a default duration for a role.

Parameters

$rid: Required. The role_id to remove.

2 calls to role_expire_delete_default_duration()
role_expire_migrate_delete_role in ./role_expire.migrate.inc
Implementation of hook_migrate_delete_role().
role_expire_user_admin_role_submit in ./role_expire.module

File

./role_expire.module, line 133
Role Expire module

Code

function role_expire_delete_default_duration($rid) {
  db_query("DELETE FROM {role_expire_length} WHERE rid = %d", $rid);
}