Commit d00c702e authored by Adrian Rossouw's avatar Adrian Rossouw

dunno how i missed the drush.inc that makes it all work.

parent 7015dca1
<?php
function hosting_ssl_hosting_site_context_options(&$task) {
$node = $task->ref;
if (isset($node->ssl_enabled)) {
// we pass null to disable the option.
$task->context_options['ssl_enabled'] = ($node->ssl_enabled) ? $node->ssl_enabled : 'null';
if ($node->ssl_enabled) {
$task->context_options['ssl_key'] = hosting_ssl_get_key($node->ssl_key);
}
else {
$task->context_options['ssl_key'] = 'null';
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment