You are here

function video_delete in Video 5

Same name and namespace in other branches
  1. 6 video.module \video_delete()
  2. 6.2 video.module \video_delete()

Implementation of hook_delete

File

./video.module, line 802
Display video in Quicktime MOV, Realmedia RM, Flash FLV & SWF, or Windows Media WMV formats.

Code

function video_delete($node) {
  db_query("DELETE FROM {video} WHERE nid = %d", $node->nid);
}