Commit 084f0695 authored by drumm's avatar drumm Committed by Neil Drumm

Correctly send ssl options

parent ddac0701
<?php
// $Id$
/**
*/
function drush_hosting_ssl_pre_hosting_task($task) {
$task =& drush_get_context('HOSTING_TASK');
if ($task->ref->type == 'site') {
$task->options['ssl'] = $task->ref->ssl;
$task->options['ssl_redirect'] = $task->ref->ssl_redirect;
}
function hosting_ssl_context_options(&$task) {
$task->context_options['ssl'] = $task->ref->ssl;
$task->context_options['ssl_redirect'] = $task->ref->ssl_redirect;
}
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