function mobile_switch_block_uninstall in Mobile Switch Block 6
Same name and namespace in other branches
- 7.2 mobile_switch_block.install \mobile_switch_block_uninstall()
- 7 mobile_switch_block.install \mobile_switch_block_uninstall()
Implementation of hook_uninstall().
File
- ./
mobile_switch_block.install, line 45 - Install, update and uninstall functions for the Mobile Switch Block module.
Code
function mobile_switch_block_uninstall() {
$query = db_query("SELECT * FROM {variable} WHERE name LIKE '%mobile_switch_block%'");
while ($result = db_fetch_object($query)) {
variable_del($result->name);
}
}