function elysia_cron_uninstall in Elysia Cron 7.2
Same name and namespace in other branches
- 5.2 elysia_cron.install \elysia_cron_uninstall()
- 5 elysia_cron.install \elysia_cron_uninstall()
- 6.2 elysia_cron.install \elysia_cron_uninstall()
- 6 elysia_cron.install \elysia_cron_uninstall()
- 7 elysia_cron.install \elysia_cron_uninstall()
Implements hook_uninstall().
File
- ./
elysia_cron.install, line 146 - Install, update and uninstall functions for the elysia_cron module.
Code
function elysia_cron_uninstall() {
$variables = db_select('variable', 'v')
->fields('v', array(
'name',
))
->condition('v.name', 'elysia_cron_%', 'LIKE')
->execute()
->fetchCol();
foreach ($variables as $name) {
variable_del($name);
}
}