You are here

function hosting_client_update_6004 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 client/hosting_client.install \hosting_client_update_6004()
  2. 7.3 client/hosting_client.install \hosting_client_update_6004()

Make all sites with client relationship lost owned by the default client.

File

client/hosting_client.install, line 318
Install, update and uninstall for the clients module.

Code

function hosting_client_update_6004() {
  $ret = array();
  $ret[] = update_sql("UPDATE {hosting_site} SET client = %d WHERE client = 0", HOSTING_DEFAULT_CLIENT);
  return $ret;
}