function hosting_update_6007 in Hosting 7.4
Same name and namespace in other branches
- 6.2 hosting.install \hosting_update_6007()
- 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 226 - Define database schemas and update functions 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();
}