function image_hotspots_db_delete in Image Hotspots 7.2
Delete hotspot data from database.
Parameters
int $fid: File id.
string $language: Language.
1 call to image_hotspots_db_delete()
- image_hotspots_node_submit in ./
image_hotspots.module - Implements hook_node_submit().
File
- includes/
image_hotspots.db.inc, line 60 - Functions for database interactions.
Code
function image_hotspots_db_delete($fid, $language) {
db_delete('image_hotspot')
->condition('fid', $fid)
->condition('language', $language)
->execute();
}