Closed (won't fix)
Project:
Quiz
Version:
7.x-4.x-dev
Component:
Code - Quiz core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2016 at 16:19 UTC
Updated:
31 Mar 2017 at 23:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
djdevinHi,
This won't be possible in 4.x.
In 5.0 you don't need the patch. Check out
quiz.api.phpfor the sample implementation ofhook_quiz_access_alter().If you implement that hook, you can modify any access control, not just the expiration, as you wish.
Comment #3
lintxa commentedComment #4
lintxa commentedThanks for your comment but we have a lot of sites with Quiz 4 version and it is not posible for us update to 5 version yet. Anyway I attach this patch for users who can find it useful.
Comment #5
lintxa commentedComment #6
djdevinSure, Quiz 4.x is only receiving security and critical bugfixes, so we cannot introduce a new API hook that is already deprecated in the next version.
Comment #7
djdevin