You are here

function expire_uninstall in Cache Expiration 7.2

Same name and namespace in other branches
  1. 6 expire.install \expire_uninstall()
  2. 7 expire.install \expire_uninstall()

Implements hook_uninstall().

File

./expire.install, line 11
Uninstall actions for Cache Expiration module.

Code

function expire_uninstall() {
  db_delete('variable')
    ->condition('name', 'expire_%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}