You are here

function revisioning_update_7104 in Revisioning 7

Same name and namespace in other branches
  1. 8 revisioning.install \revisioning_update_7104()

Adjust module weight.

As of core 7.12 the new hooks taxonomy_node_insert() and taxonomy_node_update() must be executed before the associated revisioning hooks.

File

./revisioning.install, line 75
Install and uninstall hooks for Revisioning module.

Code

function revisioning_update_7104() {
  db_update('system')
    ->fields(array(
    'weight' => 1,
  ))
    ->condition('name', 'revisioning')
    ->execute();
}