From d812d9628b5401ac6c7f2fd23fbf87d853d3402c Mon Sep 17 00:00:00 2001 From: Benjamin Walker Date: Mon, 10 Jun 2024 17:08:42 +1000 Subject: [PATCH] External API test fix #884 --- classes/external/trigger_dataflow.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/external/trigger_dataflow.php b/classes/external/trigger_dataflow.php index 58a0575d..432453ab 100644 --- a/classes/external/trigger_dataflow.php +++ b/classes/external/trigger_dataflow.php @@ -16,6 +16,10 @@ namespace tool_dataflows\external; +defined('MOODLE_INTERNAL') || die(); + +require_once($CFG->libdir . '/externallib.php'); + use external_function_parameters; use external_single_structure; use external_value;