Moodle 5 Question banks, availability and Driprelease

Moodle 5 Question banks, availability and Driprelease

by Marcus Green -
Number of replies: 2
iTaba kei {Sa} iTaba kei {Sa} iTaba kei {Sa} iTaba kei {Sa}

I am in the process of updating my plugins to be compatible with Moodle 5. I noticed that my Driprelease plugin shows Question banks and will "update the availability" of them if they are selected. However as there is no availability setting in Question banks, I suspect this process has no value. I was wondering if I should exclude the Question banks from being processed. Thoughts?

https://moodle.org/plugins/tool_driprelease

Average of ratings:Useful (1)
In reply to Marcus Green

Moodle 5 Question banks, availability and Driprelease

by Tim Hunt -
iTaba kei {Sa} iTaba kei {Sa} iTaba kei {Sa} iTaba kei {Sa} iTaba kei {Sa}
Probably, and probably use plugin_supports('mod', $modname, FEATURE_PUBLISHES_QUESTIONS), rather than hard-coding a check on mod_qbank.
Average of ratings:Useful (1)
In reply to Tim Hunt

Moodle 5 Question banks, availability and Driprelease

by Marcus Green -
iTaba kei {Sa} iTaba kei {Sa} iTaba kei {Sa} iTaba kei {Sa}
Thanks Tim, I would not have thought/known of that.