From cee48fb2e43679562e934cc993ccfe37c545368e Mon Sep 17 00:00:00 2001 From: Stephan Robotta Date: Wed, 5 Jul 2023 16:48:48 +0200 Subject: [PATCH] add Moodle internal check because of complaint from code runner --- classes/plugininfo.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/plugininfo.php b/classes/plugininfo.php index 297225d..28bdccb 100644 --- a/classes/plugininfo.php +++ b/classes/plugininfo.php @@ -23,6 +23,8 @@ use editor_tiny\plugin_with_buttons; use editor_tiny\plugin_with_configuration; +defined('MOODLE_INTERNAL') || die; + require_once(__DIR__ . '/../../../../../behat/classes/util.php'); /**