You are here

function hosting_context_delete in Hostmaster (Aegir) 6

Delete an alias from the context lookup table.

Parameters

$nid: The nid of the node to remove the association from.

5 calls to hosting_context_delete()
hosting_platform_delete in modules/hosting/platform/hosting_platform.module
Implementation of hook_delete().
hosting_platform_post_hosting_delete_task in modules/hosting/platform/hosting_platform.drush.inc
Implementation of hook_hosting_post_DELETE().
hosting_server_delete in modules/hosting/server/hosting_server.module
Implementation of hook_delete().
hosting_site_delete in modules/hosting/site/hosting_site.nodeapi.inc
Implementation of hook_delete().
hosting_site_post_hosting_delete_task in modules/hosting/site/hosting_site.drush.inc
implementation of hook_hosting_post_DELETE

File

modules/hosting/hosting.module, line 838
Hosting module.

Code

function hosting_context_delete($nid) {
  db_query("DELETE FROM {hosting_context} WHERE nid=%d", $nid);
}