aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-27 11:51:58 +0300
committerValentin Popov <info@valentineus.link>2017-10-27 11:51:58 +0300
commit9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb (patch)
treecb39728a3c97b58ee38c1d7fd9e46ad6d6f9eac2
parent74c106aa87511594110ef57290a435e1c288a410 (diff)
downloadlocal_webhooks-9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb.tar.xz
local_webhooks-9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb.zip
Additional check of variables
-rw-r--r--editservice.php2
-rw-r--r--managerservice.php2
-rw-r--r--version.php1
3 files changed, 5 insertions, 0 deletions
diff --git a/editservice.php b/editservice.php
index 3c57507..e8ebcae 100644
--- a/editservice.php
+++ b/editservice.php
@@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
+defined("MOODLE_INTERNAL") || die();
+
require_once(__DIR__ . "/../../config.php");
require_once(__DIR__ . "/classes/editform.php");
require_once($CFG->libdir . "/adminlib.php");
diff --git a/managerservice.php b/managerservice.php
index ccdb7bc..b3db5e0 100644
--- a/managerservice.php
+++ b/managerservice.php
@@ -22,6 +22,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
+defined("MOODLE_INTERNAL") || die();
+
require_once(__DIR__ . "/../../config.php");
require_once($CFG->libdir . "/tablelib.php");
require_once($CFG->libdir . "/adminlib.php");
diff --git a/version.php b/version.php
index 9028d3f..55b5dfc 100644
--- a/version.php
+++ b/version.php
@@ -23,6 +23,7 @@
*/
defined("MOODLE_INTERNAL") || die();
+
$plugin->release = "1.0.0 (Build: 2017102700)";
$plugin->version = 2017102700;
$plugin->requires = 2016112900;