You are here

function lightbox2_uninstall in Lightbox2 5

Same name and namespace in other branches
  1. 8 lightbox2.install \lightbox2_uninstall()
  2. 5.2 lightbox2.install \lightbox2_uninstall()
  3. 6 lightbox2.install \lightbox2_uninstall()
  4. 7.2 lightbox2.install \lightbox2_uninstall()
  5. 7 lightbox2.install \lightbox2_uninstall()

Implementation of hook_uninstall()

File

./lightbox2.install, line 16

Code

function lightbox2_uninstall() {

  // delete the variables we created
  variable_del('lightbox2_plus');
  variable_del('lightbox2_image_node');
  variable_del('lightbox2_image_group');
  variable_del('lightbox2G2_filter');
  watchdog('lightbox2', 'lightbox2 module un-installed');
}