function mmenu_uninstall in Mobile sliding menu 7.2
Same name and namespace in other branches
- 8 mmenu.install \mmenu_uninstall()
- 7.3 mmenu.install \mmenu_uninstall()
- 7 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');
}