From f9772b1fb97b81468793388ed8af3c06f4f3e279 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 19 Jun 2018 22:22:45 +0400 Subject: Fix check MOODLE_INTERNAL Signed-off-by: Valentin Popov --- classes/event/backup_performed.php | 2 +- classes/event/backup_restored.php | 2 +- classes/event/response_answer.php | 2 +- classes/event/service_added.php | 2 +- classes/event/service_deleted.php | 2 +- classes/event/service_updated.php | 2 +- classes/handler.php | 2 +- classes/service_form.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'classes') diff --git a/classes/event/backup_performed.php b/classes/event/backup_performed.php index 206e730..d9a5502 100644 --- a/classes/event/backup_performed.php +++ b/classes/event/backup_performed.php @@ -24,7 +24,7 @@ namespace local_webhooks\event; -defined("MOODLE_INTERNAL") || die(); +defined('MOODLE_INTERNAL') || die(); /** * Defines how to work with events. diff --git a/classes/event/backup_restored.php b/classes/event/backup_restored.php index f0ba273..0b6b5f9 100644 --- a/classes/event/backup_restored.php +++ b/classes/event/backup_restored.php @@ -24,7 +24,7 @@ namespace local_webhooks\event; -defined("MOODLE_INTERNAL") || die(); +defined('MOODLE_INTERNAL') || die(); /** * Defines how to work with events. diff --git a/classes/event/response_answer.php b/classes/event/response_answer.php index f104eec..aa12845 100644 --- a/classes/event/response_answer.php +++ b/classes/event/response_answer.php @@ -24,7 +24,7 @@ namespace local_webhooks\event; -defined("MOODLE_INTERNAL") || die(); +defined('MOODLE_INTERNAL') || die(); /** * Defines how to work with events. diff --git a/classes/event/service_added.php b/classes/event/service_added.php index 0449e9c..0ec9780 100644 --- a/classes/event/service_added.php +++ b/classes/event/service_added.php @@ -24,7 +24,7 @@ namespace local_webhooks\event; -defined("MOODLE_INTERNAL") || die(); +defined('MOODLE_INTERNAL') || die(); /** * Defines how to work with events. diff --git a/classes/event/service_deleted.php b/classes/event/service_deleted.php index 3937f85..4955e55 100644 --- a/classes/event/service_deleted.php +++ b/classes/event/service_deleted.php @@ -24,7 +24,7 @@ namespace local_webhooks\event; -defined("MOODLE_INTERNAL") || die(); +defined('MOODLE_INTERNAL') || die(); /** * Defines how to work with events. diff --git a/classes/event/service_updated.php b/classes/event/service_updated.php index f6cb3ac..2410d8a 100644 --- a/classes/event/service_updated.php +++ b/classes/event/service_updated.php @@ -24,7 +24,7 @@ namespace local_webhooks\event; -defined("MOODLE_INTERNAL") || die(); +defined('MOODLE_INTERNAL') || die(); /** * Defines how to work with events. diff --git a/classes/handler.php b/classes/handler.php index 8de9b3c..2381173 100644 --- a/classes/handler.php +++ b/classes/handler.php @@ -24,7 +24,7 @@ namespace local_webhooks; -defined("MOODLE_INTERNAL") || die(); +defined('MOODLE_INTERNAL') || die(); require_once(__DIR__ . "/../lib.php"); require_once(__DIR__ . "/../locallib.php"); diff --git a/classes/service_form.php b/classes/service_form.php index 4f1ce31..3348247 100644 --- a/classes/service_form.php +++ b/classes/service_form.php @@ -22,7 +22,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -defined("MOODLE_INTERNAL") || die(); +defined('MOODLE_INTERNAL') || die(); require_once($CFG->libdir . "/formslib.php"); -- cgit v1.2.3