You are here

function hosting_update_6007 in Hostmaster (Aegir) 6

Implements hook_update_N().

Update the default db_server now that we've merged the webserver and dbserver nodes See http://drupal.org/node/731550

File

modules/hosting/hosting.install, line 203
Install, update and uninstall for the hosting module.

Code

function hosting_update_6007() {
  variable_set('hosting_default_db_server', variable_get('hosting_default_web_server', 3));
  variable_set('hosting_own_db_server', variable_get('hosting_default_web_server', 3));
  return array();
}