diff --git a/mod/assign/batchsetallocatedmarkerform.php b/mod/assign/batchsetallocatedmarkerform.php index e01f78083fa64..a0bcac44e750e 100644 --- a/mod/assign/batchsetallocatedmarkerform.php +++ b/mod/assign/batchsetallocatedmarkerform.php @@ -22,11 +22,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); - -require_once($CFG->libdir.'/formslib.php'); -require_once($CFG->dirroot . '/mod/assign/feedback/file/locallib.php'); - /** * Set allocated marker form. * diff --git a/mod/assign/batchsetmarkingworkflowstateform.php b/mod/assign/batchsetmarkingworkflowstateform.php index 91cb7eb3e1ff5..b5c2c6c2eee39 100644 --- a/mod/assign/batchsetmarkingworkflowstateform.php +++ b/mod/assign/batchsetmarkingworkflowstateform.php @@ -22,11 +22,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); - -require_once($CFG->libdir.'/formslib.php'); -require_once($CFG->dirroot . '/mod/assign/feedback/file/locallib.php'); - /** * Set marking workflow form. *