function rotor_delete in Rotor Banner 5.7
Same name and namespace in other branches
- 5 rotor.module \rotor_delete()
- 6.2 rotor.module \rotor_delete()
- 6 rotor.module \rotor_delete()
- 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);
}