function rotor_delete in Rotor Banner 7
Same name and namespace in other branches
- 5.7 rotor.module \rotor_delete()
- 5 rotor.module \rotor_delete()
- 6.2 rotor.module \rotor_delete()
- 6 rotor.module \rotor_delete()
Implementation of hook_delete().
File
- ./
rotor.module, line 186 - 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);
}