disable.provision.inc 309 Bytes
Newer Older
1 2 3 4 5
<?php

/**
 * Implementation of hook_provision_disable
 */
6
function drush_http_provision_disable() {
7 8 9
  drush_set_option('redirect_url', drush_get_option('web_disable_url'));

  // TODO - this is majorly wrong i think.
10
  d()->service('http')->create_config('site');
11
  d()->service('http')->parse_configs();
12 13
}