You are here

function galleria_uninstall in Galleria 6

Implementation of hook_uninstall().

File

./galleria.install, line 11
Install file for the Galleria module.

Code

function galleria_uninstall() {
  variable_del('galleria_thumb_opacity');
  variable_del('galleria_show_page_warning');
  variable_del('galleria_imagecache_preset');
  variable_del('galleria_thumb_imagecache_preset');
  variable_del('galleria_jcarousel');
  variable_del('galleria_jcarousel_vertical');
  variable_del('galleria_jcarousel_visible');
  variable_del('galleria_jcarousel_scroll');
  variable_del('galleria_jcarousel_animation');
  variable_del('galleria_jcarousel_wrap');
  variable_del('galleria_lightbox');
  variable_del('galleria_lightbox_preset');
  $node_types = node_get_types('names');
  foreach ($node_types as $type) {
    variable_del("galleria_{$type}");
  }
}