You are here

function pm_update_7103 in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pm.install \pm_update_7103()
  2. 7.2 pm.install \pm_update_7103()

Migration from 7.x-1.x to 7.x-2.x.

File

./pm.install, line 42
Install, update and uninstall functions for the Project Management module.

Code

function pm_update_7103(&$sandbox) {
  $module_list = array(
    'pmpermission',
  );

  // Enable new dependencies.
  if (!module_enable($module_list, TRUE)) {
    throw new DrupalUpdateException('This version requires one or more modules that could not be enabled.');
  }
}