You are here

function hosting_alias_node_delete in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 alias/hosting_alias.module \hosting_alias_node_delete()

Implements hook_node_delete().

File

alias/hosting_alias.module, line 349
Allow sites to have domain aliases that they can be accessed with.

Code

function hosting_alias_node_delete($node) {
  if ($node->type == 'site') {
    hosting_alias_delete($node);
  }
}