static function gallery_gateway::delete in Node Gallery 6
1 call to gallery_gateway::delete()
- _node_gallery_delete in ./
node_gallery.module - Implementation of hook_nodeapi(op='delete').
File
- ./
node_gallery.model.inc, line 131 - Node gallery module.
Class
Code
static function delete($gids) {
$gids = is_numeric($gids) ? array(
$gids,
) : (array) $gids;
return db_query("DELETE FROM {ng_images} WHERE gid IN (" . db_placeholders($gids) . ")", $gids);
}