You are here

function hosting_server_update_6002 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 server/hosting_server.install \hosting_server_update_6002()
  2. 7.3 server/hosting_server.install \hosting_server_update_6002()

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 137

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;
}