function hosting_server_update_6002 in Hosting 7.4
Same name and namespace in other branches
- 6.2 server/hosting_server.install \hosting_server_update_6002()
- 7.3 server/hosting_server.install \hosting_server_update_6002()
Implements hook_update_N().
Drop the script_user and config_path columns which are no longer needed. Also remove hosting_service entries which are no longer relevant.
File
- server/
hosting_server.install, line 152 - Define the database schema and update functions for the hosting_server module.
Code
function hosting_server_update_6002() {
$ret = array();
db_query("DELETE FROM {hosting_service} WHERE service='server'");
db_drop_field($ret, "hosting_server", "script_user");
db_drop_field($ret, "hosting_server", "config_path");
return $ret;
}