You are here

function referral_uninstall in User Referral 6

Same name and namespace in other branches
  1. 5 referral.install \referral_uninstall()
  2. 7 referral.install \referral_uninstall()

Implementation of hook_uninstall().

File

./referral.install, line 66

Code

function referral_uninstall() {

  // Remove variables.
  db_query("DELETE FROM {variable} WHERE name LIKE 'referral_%%'");

  // Remove tables.
  drupal_uninstall_schema('referral');
}