function session_limit_uninstall in Session Limit 7.2
Same name and namespace in other branches
- 5 session_limit.install \session_limit_uninstall()
- 6.2 session_limit.install \session_limit_uninstall()
- 6 session_limit.install \session_limit_uninstall()
Implements hook_uninstall().
File
- ./
session_limit.install, line 11 - Contains install and update functions for Session Limit.
Code
function session_limit_uninstall() {
variable_del('session_limit_max');
variable_del('session_limit_behaviour');
variable_del('session_limit_masquerade_ignore');
variable_del('session_limit_logged_out_message_severity');
variable_del('session_limit_logged_out_message');
variable_del('session_limit_include_root_user');
db_query("DELETE FROM {variable} WHERE name LIKE 'session_limit_rid_%'");
}