function provision_save_server_data

7.x-3.x provision.inc provision_save_server_data()

Save modified options to the drushrc.php file

Related topics

File

./provision.inc, line 164
The provisioning framework API.

Code

function provision_save_server_data() {
  if (!drush_get_error()) {
    $config = new Provision_Config_Drushrc_Server(d()->name);
    $config->write();
  }
}