Removed usages of deprecated context functions
Merge branch 'master' of https://github.com/markn86/moodle-mod_certificate
CONTRIB-4301 - Added modification protection to the default certificate types
Fixed errors in deprecatedlib.php
Check that the function exists rather than relying on the Moodle version
Merge branch 'master' of https://github.com/markn86/moodle-mod_certificate