function emaillog_uninstall in Logging and alerts 7.2
Same name and namespace in other branches
- 6.2 emaillog/emaillog.install \emaillog_uninstall()
- 6 emaillog/emaillog.install \emaillog_uninstall()
- 7 emaillog/emaillog.install \emaillog_uninstall()
Implements hook_uninstall(). Deletes all emaillog variables and clears variable cache.
File
- emaillog/
emaillog.install, line 12 - Install, update and uninstall functions for the emaillog module.
Code
function emaillog_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'emaillog_%'");
cache_clear_all('variables', 'cache');
}