From e95f0ba1962be98f77143ba84a31063717720e60 Mon Sep 17 00:00:00 2001 From: Leon Stringer Date: Thu, 30 Jan 2025 14:56:31 +0000 Subject: [PATCH] MDL-84385 mod_assign: Remove unneeded require_once --- mod/assign/batchsetallocatedmarkerform.php | 5 ----- mod/assign/batchsetmarkingworkflowstateform.php | 5 ----- 2 files changed, 10 deletions(-) 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. *