function user_update_dependencies
7.x user.install | user_update_dependencies() |
Implements hook_update_dependencies().
File
- drupal-7.x/
modules/ user/ user.install, line 345 - Install, update and uninstall functions for the user module.
Code
function user_update_dependencies() {
// user_update_7006() updates data in the {role_permission} table, so it must
// run after system_update_7007(), which populates that table.
$dependencies['user'][7006] = array(
'system' => 7007,
);
// user_update_7010() needs to query the {filter_format} table to get a list
// of existing text formats, so it must run after filter_update_7000(), which
// creates that table.
$dependencies['user'][7010] = array(
'filter' => 7000,
);
// user_update_7012() uses the file API, which relies on the {file_managed}
// table, so it must run after system_update_7034(), which creates that
// table.
$dependencies['user'][7012] = array(
'system' => 7034,
);
// user_update_7013() uses the file usage API, which relies on the
// {file_usage} table, so it must run after system_update_7059(), which
// creates that table.
$dependencies['user'][7013] = array(
'system' => 7059,
);
return $dependencies;
}