function stickynav_uninstall in Sticky Navigation 6
Same name and namespace in other branches
- 7 stickynav.install \stickynav_uninstall()
Implements hook_uninstall().
File
- ./
stickynav.install, line 10 - Contains install and update functions for advanced_help.
Code
function stickynav_uninstall() {
$result = db_query("\n SELECT name FROM {'variable'}\n WHERE\n name LIKE 'stickynav-enabled-%%' OR\n name LIKE 'stickynav-selector-%%' OR\n name LIKE 'stickynav-roles-%%'\n ");
while ($row = db_fetch_object($result)) {
variable_del($row->name);
}
}