You are here

function hosting_db_server_submit in Hosting 5

Implementation of hook_submit().

File

db_server/hosting_db_server.module, line 160

Code

function hosting_db_server_submit(&$node) {
  if (empty($node->db_passwd) && $node->nid) {
    $old = node_load($node->nid);
    $node->db_passwd = $old->db_passwd;
  }
}