MDL-55289 workshop: Include repository/lib.php to use its constants
[moodle.git] / mod / workshop / submission.php
index 3d7e1fb..6fc9724 100644 (file)
@@ -25,7 +25,6 @@
 
 require(__DIR__.'/../../config.php');
 require_once(__DIR__.'/locallib.php');
-require_once($CFG->dirroot . '/repository/lib.php');
 
 $cmid = required_param('cmid', PARAM_INT); // Course module id.
 $id = optional_param('id', 0, PARAM_INT); // Submission id.