You are here

function lazyloader_uninstall in Image Lazyloader 7.2

Same name and namespace in other branches
  1. 7 lazyloader.install \lazyloader_uninstall()

Implements hook_uninstall().

1 call to lazyloader_uninstall()
LazyloaderTestBase::tearDown in tests/lazyloader_test_base.test
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

File

./lazyloader.install, line 22
Lazyloader Install

Code

function lazyloader_uninstall() {
  $variables = array(
    'lazyloader_enabled',
    'lazyloader_distance',
    'lazyloader_placeholder',
    'lazyloader_icon',
    'lazyloader_paths',
    'lazyloader_custom_icon_path',
    'lazyloader_page_exclude_option',
    'lazyloader_content_types',
    'lazyloader_load_image_delay',
    'lazyloader_debounce',
    'lazyloader_unload',
    'lazyloader_debugging',
  );
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}