function typekit_uninstall in Typekit 6
Implementation of hook_uninstall().
File
- ./
typekit.install, line 21 - This file holds the functions for the installing and enabling of the typekit module.
Code
function typekit_uninstall() {
// Get module variables
$results = db_query("SELECT v.name FROM {variable} AS v WHERE v.name LIKE '%s%%'", 'typekit_');
// Remove variables
while ($row = db_fetch_array($results)) {
variable_del($row['name']);
}
}