summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-06-19 21:22:45 +0300
committerValentin Popov <info@valentineus.link>2018-06-19 21:22:45 +0300
commitf9772b1fb97b81468793388ed8af3c06f4f3e279 (patch)
tree6e33da8c616c2fc06a82e3d60a742ad412e4e1bd /classes
parent3fa97bad312f24b815eac5b374e321512bc6aa4a (diff)
downloadlocal_webhooks-f9772b1fb97b81468793388ed8af3c06f4f3e279.tar.xz
local_webhooks-f9772b1fb97b81468793388ed8af3c06f4f3e279.zip
Fix check MOODLE_INTERNALv3.0.1
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'classes')
-rw-r--r--classes/event/backup_performed.php2
-rw-r--r--classes/event/backup_restored.php2
-rw-r--r--classes/event/response_answer.php2
-rw-r--r--classes/event/service_added.php2
-rw-r--r--classes/event/service_deleted.php2
-rw-r--r--classes/event/service_updated.php2
-rw-r--r--classes/handler.php2
-rw-r--r--classes/service_form.php2
8 files changed, 8 insertions, 8 deletions
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");