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.
The date_tools_permission() function is not updated to be compatible with D7. Applied is a patch to fix it.
Comment | File | Size | Author |
---|---|---|---|
#2 | date_tools_hook_permission.patch | 674 bytes | webchick |
date_tools_hook_permission.patch | 447 bytes | jurgenhaas | |
Comments
Comment #1
Stevel CreditAttribution: Stevel commentedThis looks good.
And marked #859342: date_tools_permission() has not been updated to the D7 format as a duplicate.
Comment #2
webchickConfirmed bug and fix. Here's a small re-roll from date module root, for convenience.
The consequence of this seemingly minor format change is that you no longer get this on the permissions page:
Comment #3
KarenS CreditAttribution: KarenS commentedCommitted, thanks everyone.