emaillog.install in Logging and alerts 7.2
Same filename and directory in other branches
Install, update and uninstall functions for the emaillog module.
File
emaillog/emaillog.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the emaillog module.
*/
/**
* Implements hook_uninstall().
* Deletes all emaillog variables and clears variable cache.
*/
function emaillog_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'emaillog_%'");
cache_clear_all('variables', 'cache');
}
Functions
Name | Description |
---|---|
emaillog_uninstall | Implements hook_uninstall(). Deletes all emaillog variables and clears variable cache. |