function system_update_dependencies
Implements hook_update_dependencies().
File
-
modules/
system/ system.install, line 1843
Code
function system_update_dependencies() {
// system_update_7053() queries the {block} table, so it must run after
// block_update_7002(), which creates that table.
$dependencies['system'][7053] = array(
'block' => 7002,
);
// system_update_7061() queries the {node_revision} table, so it must run
// after node_update_7001(), which renames the {node_revisions} table.
$dependencies['system'][7061] = array(
'node' => 7001,
);
// system_update_7067() migrates role permissions and therefore must run
// after the {role} and {role_permission} tables are properly set up, which
// happens in user_update_7007().
$dependencies['system'][7067] = array(
'user' => 7007,
);
return $dependencies;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.