function cpn_node_update in Code per Node 7
Implements hook_node_update().
Deletes from DB and file system, and then insert.
File
- ./
cpn.module, line 271 - Primary hook implementations.
Code
function cpn_node_update($node) {
if (isset($node->cpn)) {
cpn_delete_file($node->nid . '.css');
cpn_delete_file($node->nid . '.js');
}
cpn_node_insert($node);
}