You are here

function mmenu_uninstall in Mobile sliding menu 7

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

Removes variables on uninstall.

File

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

Code

function mmenu_uninstall() {
  db_query("DELETE FROM {variable} WHERE name LIKE 'mmenu_%'");
  cache_clear_all('variables', 'cache');
}