You are here

function rotor_delete in Rotor Banner 5.7

Same name and namespace in other branches
  1. 5 rotor.module \rotor_delete()
  2. 6.2 rotor.module \rotor_delete()
  3. 6 rotor.module \rotor_delete()
  4. 7 rotor.module \rotor_delete()

Hook Delete

File

./rotor.module, line 242
A rotor banner consists in a set of images that will be changing. This module is made using jquery.

Code

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