You are here

function subuser_uninstall in Subuser 5

Same name and namespace in other branches
  1. 8 subuser.install \subuser_uninstall()
  2. 6 subuser.install \subuser_uninstall()
  3. 7.2 subuser.install \subuser_uninstall()

File

./subuser.install, line 28

Code

function subuser_uninstall() {
  db_query('DROP TABLE {subuser}');
  variable_del("subuser_roleid");
  db_query("DELETE FROM {role}  WHERE name='subuser'");
}