You are here

function userpoints_uninstall in User Points 5

Same name and namespace in other branches
  1. 5.3 userpoints.install \userpoints_uninstall()
  2. 5.2 userpoints.install \userpoints_uninstall()
  3. 6 userpoints.install \userpoints_uninstall()
  4. 7.2 userpoints.install \userpoints_uninstall()
  5. 7 userpoints.install \userpoints_uninstall()

Implementation of hook_uninstall().

File

./userpoints.install, line 61

Code

function userpoints_uninstall() {
  db_query('DROP TABLE {userpoints}');
  db_query('DROP TABLE {userpoints_txn}');
  db_query("DELETE FROM {variable} WHERE name like '%userpoints%'");
}