You are here

function hosting_package_update_10 in Hosting 6.2

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

File

package/hosting_package.install, line 303
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;
}