You are here

function session_limit_uninstall in Session Limit 6

Same name and namespace in other branches
  1. 5 session_limit.install \session_limit_uninstall()
  2. 6.2 session_limit.install \session_limit_uninstall()
  3. 7.2 session_limit.install \session_limit_uninstall()

Implementation of hook_uninstall().

File

./session_limit.install, line 13
Contains install and update functions for Session Limit.

Code

function session_limit_uninstall() {
  variable_del('session_limit_max');
  variable_del('session_limit_auto_drop');
  variable_del('session_limit_masquerade_ignore');
  db_query('DELETE FROM {variable} WHERE name LIKE "session_limit_rid_%"');
}