function hosting_alias_delete_revision

7.x-3.x hosting_alias.module hosting_alias_delete_revision($node)

Remove the stored aliases for and existing site for a specific version.

Parameters

Object $node: The site node.

2 calls to hosting_alias_delete_revision()
hosting_alias_node_revision_delete in alias/hosting_alias.module
Implements hook_node_revision_delete().
hosting_alias_update in alias/hosting_alias.module
Update stored aliases for an existing site.

File

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

Code

function hosting_alias_delete_revision($node) {
  db_delete('hosting_site_alias')->condition('nid', $node->nid)->condition('vid', $node->vid)->execute();
}