Why drupal 6 function "hook_perm()" was used in the module "quiz_progress" on drupal 7.

CommentFileSizeAuthor
#2 drupal__function_drupal7_264818_2.patch421 bytesarunkumark
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bharathiraja created an issue. See original summary.

arunkumark’s picture

Assigned: bharathiraja » Unassigned
Status: Active » Needs review
FileSize
421 bytes

Hi,
I have created patch for removing Drupal 6 function.

hook_prem() is deprecated in Drupal 7 instead of hook_prem() we can use hook_permission().

sivaramakrishnan’s picture

Status: Needs review » Reviewed & tested by the community

I have tested patch, it working fine for me.

  • arunkumark authored cc071d9 on 7.x-1.x
    Issue #2648128 by arunkumark: Drupal 6 function on drupal 7
    
arunkumark’s picture

Status: Reviewed & tested by the community » Patch (to be ported)

Patch is ported in version 7.x-1.2

arunkumark’s picture

Status: Patch (to be ported) » Fixed

  • arunkumark authored cc071d9 on 7.x-2.x
    Issue #2648128 by arunkumark: Drupal 6 function on drupal 7
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.