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.
Why drupal 6 function "hook_perm()" was used in the module "quiz_progress" on drupal 7.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal__function_drupal7_264818_2.patch | 421 bytes | arunkumark |
Comments
Comment #2
arunkumarkHi,
I have created patch for removing Drupal 6 function.
hook_prem()
is deprecated in Drupal 7 instead of hook_prem() we can usehook_permission()
.Comment #3
sivaramakrishnan CreditAttribution: sivaramakrishnan at UniMity Solutions Pvt Limited commentedI have tested patch, it working fine for me.
Comment #5
arunkumarkPatch is ported in version 7.x-1.2
Comment #6
arunkumark