You are here

function homebox_uninstall in Homebox 6.2

Same name and namespace in other branches
  1. 6.3 homebox.install \homebox_uninstall()
  2. 6 homebox.install \homebox_uninstall()
  3. 7.3 homebox.install \homebox_uninstall()
  4. 7.2 homebox.install \homebox_uninstall()

Implementation of hook_uninstall().

File

./homebox.install, line 44
The install file for Homebox allows the module to install (and uninstall) itself. This is required as this module uses its own table.

Code

function homebox_uninstall() {

  // Remove variables
  variable_del('homebox_user_tab');
  variable_del('homebox_version');

  // Remove schema
  drupal_uninstall_schema('homebox');
}