function akamai_node_delete in Akamai 7
Same name and namespace in other branches
- 8 akamai.module \akamai_node_delete()
- 8.2 akamai.module \akamai_node_delete()
- 7.3 akamai.module \akamai_node_delete()
- 7.2 akamai.module \akamai_node_delete()
Implementation of hook_node_delete().
When nodes are modified, clear URL from the Akamai cache. Clear base node/% url as well as aliases.
File
- ./
akamai.module, line 90 - akamai.module Integration with the Akamai CDN Cache Control Web Service.
Code
function akamai_node_delete($node) {
$url = base_path() . "node/{$node->nid}";
akamai_clear_url($url, array(
'email' => AKAMAI_EMAIL_DISABLE,
), $node);
}