function contact_update_dependencies

contact_update_dependencies()

Implements hook_update_dependencies().

File

modules/contact/contact.install, line 94
Install, update and uninstall functions for the contact module.

Code

function contact_update_dependencies() {
  // contact_update_7001() relies on the {role_permission} table being updated
  // to the new format and filled with data.
  $dependencies['contact'][7001] = array(
    'system' => 7007,
  );

  // contact_update_7002() relies on the {role_permission} table having the
  // module field, which is created in user_update_7006().
  $dependencies['contact'][7002] = array(
    'user' => 7006,
  );

  return $dependencies;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!contact!contact.install/function/contact_update_dependencies/7.x