You are here

function imageapi_optimize_uninstall in Image Optimize (or ImageAPI Optimize) 7

Same name and namespace in other branches
  1. 6 imageapi_optimize.install \imageapi_optimize_uninstall()
  2. 7.2 imageapi_optimize.install \imageapi_optimize_uninstall()

Implements hook_uninstall().

File

./imageapi_optimize.install, line 11
Install, update and uninstall functions.

Code

function imageapi_optimize_uninstall() {
  db_delete('variable')
    ->condition('name', db_like('imageapi_optimize_') . '%', "LIKE")
    ->execute();
  cache_clear_all('variables', 'cache_bootstrap');
}