From 5ab4859ee7b819f2dc3d6034da5a5ecabe45553f Mon Sep 17 00:00:00 2001 From: Isaac Caparros Salva Date: Tue, 18 Jan 2022 10:43:56 +0100 Subject: [PATCH] fix(ci): moodle code checker warning and errors Removed unnecessary MOODLE_INTERNAL defines. #taskid 19424 --- classes/privacy/provider.php | 2 -- db/install.php | 2 -- db/uninstall.php | 2 -- lib.php | 2 -- 4 files changed, 8 deletions(-) diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php index 2f772f1d..f521fbb5 100644 --- a/classes/privacy/provider.php +++ b/classes/privacy/provider.php @@ -24,8 +24,6 @@ namespace atto_wiris\privacy; -defined('MOODLE_INTERNAL') || die(); - /** * Privacy Subsystem for MathType Atto plugin implementing null_provider. * diff --git a/db/install.php b/db/install.php index 0ac41d74..32aeb8d8 100644 --- a/db/install.php +++ b/db/install.php @@ -23,8 +23,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -defined('MOODLE_INTERNAL') || die(); - /** * Enable MathType for Atto buttons on installation. */ diff --git a/db/uninstall.php b/db/uninstall.php index e06868c8..b5dc79c5 100644 --- a/db/uninstall.php +++ b/db/uninstall.php @@ -23,8 +23,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -defined('MOODLE_INTERNAL') || die(); - function xmldb_atto_wiris_uninstall() { // Remove 'wiris' from the toolbar editor_atto config variable. $toolbar = get_config('editor_atto', 'toolbar'); diff --git a/lib.php b/lib.php index 2bb0120d..035ba605 100644 --- a/lib.php +++ b/lib.php @@ -23,8 +23,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -defined('MOODLE_INTERNAL') || die(); - /** * Initialise the js strings required for this module. */