You are here

function hosting_https_nodeapi_site_presave in Aegir HTTPS 7.3

Implements hook_nodeapi_TYPE_OP().

File

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

Code

function hosting_https_nodeapi_site_presave(&$node) {
  if (!isset($node->https_enabled)) {
    $node->https_enabled = HOSTING_HTTPS_DISABLED;
  }
  if (!isset($node->https_client_authentication_enabled)) {
    $node->https_client_authentication_enabled = HOSTING_HTTPS_CLIENT_AUTHENTICATION_DISABLED;
  }
  if (!isset($node->https_client_authentication_path)) {
    $node->https_client_authentication_path = '';
  }
}