Skip to content
Snippets Groups Projects
Unverified Commit dbba863b authored by Tim Schroeder's avatar Tim Schroeder
Browse files

made plugin work again with moodle 3

parent 8e29b647
Branches master
No related tags found
No related merge requests found
......@@ -23,6 +23,14 @@ defined('MOODLE_INTERNAL') || die;
require_once($CFG->dirroot . '/mod/pdfannotator/locallib.php');
// Ugly hack to make 3.11 and 4.0 work seamlessly.
if (!defined('FEATURE_MOD_PURPOSE')) {
define('FEATURE_MOD_PURPOSE', 'mod_purpose');
}
if (!defined('MOD_PURPOSE_COMMUNICATION')) {
define('MOD_PURPOSE_COMMUNICATION', 'communication');
}
/**
* List of features supported in pdfannotator module
* @param string $feature FEATURE_xx constant for requested feature
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment