You are here

function hosting_https_nodeapi_site_insert in Aegir HTTPS 7.3

Implements hook_nodeapi_TYPE_OP().

1 call to hosting_https_nodeapi_site_insert()
hosting_https_nodeapi_site_update in ./hosting_https.nodeapi.inc
Implements hook_nodeapi_TYPE_OP().

File

./hosting_https.nodeapi.inc, line 227
NodeAPI functions for the Hosting HTTPS module.

Code

function hosting_https_nodeapi_site_insert($node) {
  db_insert('hosting_https_site')
    ->fields(array(
    'vid' => $node->vid,
    'nid' => $node->nid,
    'https_enabled' => $node->https_enabled,
    'client_authentication' => $node->https_client_authentication_enabled,
    'client_authentication_path' => $node->https_client_authentication_path,
  ))
    ->execute();
}