function hosting_https_update_7002 in Aegir HTTPS 7.3
Add support for enabling client authentication only on a specific path.
File
- ./
hosting_https.install, line 108 - Define the database schema and uninstall function for the hosting_https module.
Code
function hosting_https_update_7002() {
$schema = hosting_https_schema();
$field = $schema['hosting_https_site']['fields']['client_authentication_path'];
db_add_field('hosting_https_site', 'client_authentication_path', $field);
db_update('hosting_https_site')
->fields(array(
'client_authentication_path' => '',
))
->execute();
}