From 9e1c2cca4e24ff1e50dbfa3134d929ec71c419eb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 27 Oct 2017 12:51:58 +0400 Subject: Additional check of variables --- editservice.php | 2 ++ managerservice.php | 2 ++ version.php | 1 + 3 files changed, 5 insertions(+) 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; -- cgit v1.2.3