function imageapi_optimize_processor_delete in Image Optimize (or ImageAPI Optimize) 7.2
Deletes an image processor.
Parameters
$processor: An image processor array.
1 call to imageapi_optimize_processor_delete()
- imageapi_optimize_processor_delete_form_submit in ./
imageapi_optimize.admin.inc - Submit handler to delete an image effect.
File
- ./
imageapi_optimize.module, line 698
Code
function imageapi_optimize_processor_delete($processor) {
db_delete('imageapi_optimize_processors')
->condition('ieid', $processor['ieid'])
->execute();
$pipeline = imageapi_optimize_pipeline_load(NULL, $processor['isid']);
imageapi_optimize_pipeline_flush($pipeline);
}