You are here

function drush_instance_settings_apply in Instance settings 7

Same name and namespace in other branches
  1. 7.2 includes/instance_settings.drush.inc \drush_instance_settings_apply()

Applies settings.

File

includes/instance_settings.drush.inc, line 36
Executes the instance settings capabilities

Code

function drush_instance_settings_apply() {
  drush_print(dt("Apply instance settings"));
  if (!drush_get_context('DRUSH_SIMULATE')) {
    $result = instance_settings_apply();
  }
  else {
    $result = TRUE;
  }
  if ($result) {
    drupal_set_message('Done.', 'success');
  }
}