You are here

function resp_img_disable in Responsive images and styles 7

Implements hook_disable().

File

./resp_img.module, line 49

Code

function resp_img_disable() {
  $cache_class_cache_page_old = variable_get('resp_img_cache_class_cache_page_old');
  if (isset($cache_class_cache_page_old)) {
    variable_set('cache_class_cache_page', $cache_class_cache_page_old);
  }
  else {
    variable_del('cache_class_cache_page');
  }
  variable_del('resp_img_cache_class_cache_page_old');
}