You are here

function hosting_update_6014 in Hostmaster (Aegir) 6

Implements hook_update_N().

Restore proper weight to the hosting module.

For some obscure reason, the weight is 10 which makes its updates run after all others, which gave us constant issues during upgrades.

File

modules/hosting/hosting.install, line 358
Install, update and uninstall for the hosting module.

Code

function hosting_update_6014() {
  $ret = array();
  $ret[] = update_sql("UPDATE {system} SET weight = 0 WHERE type='module' and name='hosting'");
  return $ret;
}