You are here

function lightbox2_uninstall in Lightbox2 7

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

Implementation of hook_uninstall().

File

./lightbox2.install, line 19
Installation functions for Lightbox2.

Code

function lightbox2_uninstall() {

  // Delete the variables we created.
  variable_del('lightbox2_plus');
  variable_del('lightbox2G2_filter');

  // Remove the general settings.
  variable_del('lightbox2_lite');
  variable_del('lightbox2_use_alt_layout');
  variable_del('lightbox2_force_show_nav');
  variable_del('lightbox2_loop_items');
  variable_del('lightbox2_image_count_str');
  variable_del('lightbox2_page_count_str');
  variable_del('lightbox2_video_count_str');
  variable_del('lightbox2_disable_resize');
  variable_del('lightbox2_disable_zoom');
  variable_del('lightbox2_enable_login');
  variable_del('lightbox2_enable_contact');
  variable_del('lightbox2_enable_video');
  variable_del('lightbox2_flv_player_path');
  variable_del('lightbox2_flv_player_flashvars');
  variable_del('lightbox2_page_init_action');
  variable_del('lightbox2_page_list');
  variable_del('lightbox2_disable_these_urls');
  variable_del('lightbox2_imagefield_group_node_id');
  variable_del('lightbox2_imagefield_use_node_title');
  variable_del('lightbox2_view_image_text');
  variable_del('lightbox2_image_ncck_group_node_id');
  variable_del('lightbox2_show_caption');

  // Advanced settings.
  variable_del('lightbox2_js_location');
  variable_del('lightbox2_keys_close');
  variable_del('lightbox2_keys_previous');
  variable_del('lightbox2_keys_next');
  variable_del('lightbox2_keys_zoom');
  variable_del('lightbox2_keys_play_pause');
  variable_del('lightbox2_top_position');
  variable_del('lightbox2_border_size');
  variable_del('lightbox2_box_color');
  variable_del('lightbox2_font_color');
  variable_del('lightbox2_overlay_opacity');
  variable_del('lightbox2_overlay_color');
  variable_del('lightbox2_disable_close_click');
  variable_del('lightbox2_resize_sequence');
  variable_del('lightbox2_resize_speed');
  variable_del('lightbox2_fadein_speed');
  variable_del('lightbox2_slidedown_speed');

  // Remove iframe settings.
  variable_del('lightbox2_default_frame_width');
  variable_del('lightbox2_default_frame_height');
  variable_del('lightbox2_frame_border');

  // Remove slideshow settings.
  variable_del('lightbox2_slideshow_interval');
  variable_del('lightbox2_slideshow_automatic_start');
  variable_del('lightbox2_slideshow_automatic_exit');
  variable_del('lightbox2_slideshow_show_play_pause');
  variable_del('lightbox2_slideshow_pause_on_next_click');
  variable_del('lightbox2_slideshow_pause_on_previous_click');
  variable_del('lightbox2_loop_slides');

  // Remove the automatic image handling settings.
  variable_del('lightbox2_image_node');
  variable_del('lightbox2_display_image_size');
  variable_del('lightbox2_trigger_image_size');
  variable_del('lightbox2_disable_nested_galleries');
  variable_del('lightbox2_flickr');
  variable_del('lightbox2_gallery2_blocks');
  variable_del('lightbox2_inline');
  variable_del('lightbox2_image_assist_custom');
  variable_del('lightbox2_custom_class_handler');
  variable_del('lightbox2_custom_trigger_classes');
  variable_del('lightbox2_node_link_text');
  variable_del('lightbox2_download_link_text');
  variable_del('lightbox2_node_link_target');
  variable_del('lightbox2_show_caption');
  variable_del('lightbox2_image_group');
  variable_del('lightbox2_disable_nested_acidfree_galleries');
  variable_del('lightbox2_acidfree_video');
}