Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the .install file:
* Replace deprecated code
* Remove unused aliases
* Remove code which gives administrators all permissions as administrators already get all permissions.
Comment | File | Size | Author |
---|---|---|---|
#2 | multilingual-demo--install-file-cleanup-2708513-2.patch | 4.82 KB | loopduplicate |
Comments
Comment #2
loopduplicateComment #3
loopduplicateRemoves unused aliases, adds some new ones, and alphabetizes them all.
Removes code which gives admins all permissions because admins already have all permissions.
Comment #4
Gábor HojtsyFine with me if it still works :)
Yeah not sure why was this here. It does not seem to be present in standard either.
Comment #5
loopduplicateI did a little digging. It used to be in the standard profile.
In Implement admin role as a flag on the role storage, simplify permissions page, remove user_modules_installed, one of the changes was "Always pass all permissions check for [the admin] role."
See http://cgit.drupalcode.org/drupal/diff/core/profiles/standard/standard.install?id=1ee1495
Cheers,
loop
Comment #6
Gábor HojtsyYay, looks good then :)
Comment #7
Kristen PolI'll do some testing.
Comment #8
Kristen PolI tested and it looks good. Marking RTBC.
Comment #10
Gábor Hojtsy