You are here

function imagecache_action_delete in ImageCache 5.2

Same name and namespace in other branches
  1. 6.2 imagecache.module \imagecache_action_delete()
1 call to imagecache_action_delete()
imagecache_ui_action_delete_form_submit in ./imagecache_ui.module

File

./imagecache.module, line 909
Dynamic image resizer and image cacher.

Code

function imagecache_action_delete($action) {
  db_query('DELETE FROM {imagecache_action} WHERE actionid=%d', $action['actionid']);
  $preset = imagecache_preset($action['presetid']);
  imagecache_preset_flush($preset);
  imagecache_presets(true);
}