You are here

function hosting_update_6007 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 hosting.install \hosting_update_6007()
  2. 7.3 hosting.install \hosting_update_6007()

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

./hosting.install, line 206
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();
}