You are here

function hosting_ssl_nodeapi_site_insert in Hostmaster (Aegir) 6

1 call to hosting_ssl_nodeapi_site_insert()
hosting_ssl_nodeapi_site_update in modules/hosting/web_server/ssl/hosting_ssl.nodeapi.inc

File

modules/hosting/web_server/ssl/hosting_ssl.nodeapi.inc, line 198

Code

function hosting_ssl_nodeapi_site_insert($node) {
  db_query("INSERT INTO {hosting_ssl_site} (vid, nid, ssl_enabled, ssl_key) VALUES (%d, %d, %d, %d)", $node->vid, $node->nid, $node->ssl_enabled, hosting_ssl_save_key($node->ssl_key, $node->ssl_enabled, $node->client));
}