function imageapi_optimize_uninstall in Image Optimize (or ImageAPI Optimize) 7.2
Same name and namespace in other branches
- 6 imageapi_optimize.install \imageapi_optimize_uninstall()
- 7 imageapi_optimize.install \imageapi_optimize_uninstall()
Implements hook_uninstall().
File
- ./
imageapi_optimize.install, line 10 - 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');
}