resmushit.install in reSmush.it image style optimizer 7
Same filename and directory in other branches
Update, and uninstall functions for the reSmush.it module.
File
resmushit.installView source
<?php
/**
* @file
* Update, and uninstall functions for the reSmush.it module.
*/
/**
* Implements hook_uninstall().
*/
function resmushit_uninstall() {
$query = db_select('variable', 'v')
->fields('v', array(
'name',
))
->condition('name', db_like('resmushit') . '%', 'LIKE')
->execute();
while ($variable = $query
->fetchAssoc()) {
variable_del($variable['name']);
}
}
Functions
Name![]() |
Description |
---|---|
resmushit_uninstall | Implements hook_uninstall(). |