You are here

function mmenu_uninstall in Mobile sliding menu 7.3

Same name and namespace in other branches
  1. 8 mmenu.install \mmenu_uninstall()
  2. 7 mmenu.install \mmenu_uninstall()
  3. 7.2 mmenu.install \mmenu_uninstall()

Implements hook_uninstall().

Removes variables on uninstall.

File

./mmenu.install, line 13
Install and uninstall functions for the mobile sliding menu module.

Code

function mmenu_uninstall() {
  db_delete('variable')
    ->condition('name', "mmenu_%", "LIKE")
    ->execute();
  cache_clear_all('variables', 'cache');
}