disable.provision.inc

  1. 7.x-3.x platform/disable.provision.inc
  2. 7.x-3.x http/disable.provision.inc

Functions

Namesort descending Description
drush_http_provision_disable Implementation of hook_provision_disable

File

http/disable.provision.inc
View source
  1. <?php
  2. /**
  3. * Implementation of hook_provision_disable
  4. */
  5. function drush_http_provision_disable() {
  6. drush_set_option('redirect_url', drush_get_option('web_disable_url'));
  7. // TODO - this is majorly wrong i think.
  8. d()->service('http')->create_config('site');
  9. d()->service('http')->parse_configs();
  10. }