mobile_switch.install in Mobile Switch 6
Same filename and directory in other branches
Install, update and uninstall functions for the Mobile Switch module.
File
mobile_switch.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the Mobile Switch module.
*/
/**
* Implementation of of hook_uninstall().
*/
function mobile_switch_uninstall() {
$query = db_query("SELECT * FROM {variable} WHERE name LIKE '%mobile_switch_%'");
while ($result = db_fetch_object($query)) {
variable_del($result->name);
}
}
Functions
Name![]() |
Description |
---|---|
mobile_switch_uninstall | Implementation of of hook_uninstall(). |