You are here

function photoswipe_uninstall in PhotoSwipe 6

Same name and namespace in other branches
  1. 7.2 photoswipe.install \photoswipe_uninstall()
  2. 7 photoswipe.install \photoswipe_uninstall()

Implementation of hook_uninstall().

File

./photoswipe.install, line 11
PhotoSwipe Module for Drupal 6.x

Code

function photoswipe_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'photoswipe_%'");
  cache_clear_all('variables', 'cache_bootstrap');
}