You are here

function rotor_delete in Rotor Banner 6

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

Implementation of hook_delete().

File

./rotor.module, line 422
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);
}