You are here

function hosting_package_update_8 in Hosting 6.2

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

File

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

Code

function hosting_package_update_8() {
  include_once drupal_get_path('module', 'hosting_package') . '/hosting_package.instance.inc';
  $ret = array();
  db_add_field($ret, 'hosting_package_instance', 'version_code', array(
    'type' => 'int',
    'size' => 'big',
    'not null' => TRUE,
    'default' => 0,
  ));

  // The contents of update 9 was originally inside this function,
  // but due to an error in the regular expression the code needs to be
  // executed again, as such it has been moved.
  return $ret;
}