You are here

function hosting_package_update_10 in Hostmaster (Aegir) 6

File

modules/hosting/package/hosting_package.install, line 298
Install, update and uninstall for the package management module.

Code

function hosting_package_update_10() {

  /**
   * This update is no longer necessary as all platforms and sites are re-verified in later updates.
   * because the module weight of hosting_package is lower than hosting_site, creating verify tasks
   * at this point would break the upgrade process because it would attempt to re-create the node access
   * rules, which would in turn try to load the node with it's schema not yet updated.
   *
   * we can safely remove this because we re-verify everything in hosting_update_6000()
   */

  // the task database schema needs to be changed before hosting_add_task will work.
  $ret = hosting_task_update_6000();
  return $ret;
}