You are here

function hosting_package_update_6003 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 package/hosting_package.install \hosting_package_update_6003()
  2. 7.3 package/hosting_package.install \hosting_package_update_6003()

The hostmaster and/or hostslave profiles no longer need to be status 0 as it prevents the main aegir site node from being edited. Instead, just hide the hostmaster/hostslave profiles in the site node form when creating new sites. See #599758

File

package/hosting_package.install, line 380
Install, update and uninstall for the package management module.

Code

function hosting_package_update_6003() {
  $ret = array();
  $ret[] = update_sql("UPDATE {hosting_package} h JOIN {node} n ON n.nid = h.nid SET status = 1 WHERE h.short_name = 'hostmaster' OR h.short_name = 'hostslave'");
  return $ret;
}