diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-13 05:50:09 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-09-13 05:50:09 +0000 |
commit | 413008b8909370514096cdc8a5fc186f5babd234 (patch) | |
tree | 5068c96d3751e3486e7af0cdfdc3092083c6b5ce /modules/user/user.install | |
parent | 163808d2f1f5b16999ec427a153188e9a67b596a (diff) | |
download | brdo-413008b8909370514096cdc8a5fc186f5babd234.tar.gz brdo-413008b8909370514096cdc8a5fc186f5babd234.tar.bz2 |
#898520 follow-up by Damien Tournoud, chx, David Rothstein: Clean-up the upgrade path: comment.
Diffstat (limited to 'modules/user/user.install')
-rw-r--r-- | modules/user/user.install | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/user/user.install b/modules/user/user.install index 1bb03af7a..d3ec23740 100644 --- a/modules/user/user.install +++ b/modules/user/user.install @@ -362,14 +362,17 @@ function user_update_dependencies() { /** * Utility function: grant a set of permissions to a role during update. * + * This function is valid for a database schema version 7000. + * * @param $rid * The role ID. * @param $permissions * An array of permissions names. * @param $module * The name of the module defining the permissions. + * @ingroup update-api-6.x-to-7.x */ -function _update_user_role_grant_permissions($rid, array $permissions, $module) { +function _update_7000_user_role_grant_permissions($rid, array $permissions, $module) { // Grant new permissions for the role. foreach ($permissions as $name) { db_merge('role_permission') |