Fix check MOODLE_INTERNAL

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-06-19 22:22:45 +04:00
parent 3fa97bad31
commit f9772b1fb9
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
13 changed files with 13 additions and 13 deletions

View File

@ -24,7 +24,7 @@
namespace local_webhooks\event; namespace local_webhooks\event;
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Defines how to work with events. * Defines how to work with events.

View File

@ -24,7 +24,7 @@
namespace local_webhooks\event; namespace local_webhooks\event;
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Defines how to work with events. * Defines how to work with events.

View File

@ -24,7 +24,7 @@
namespace local_webhooks\event; namespace local_webhooks\event;
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Defines how to work with events. * Defines how to work with events.

View File

@ -24,7 +24,7 @@
namespace local_webhooks\event; namespace local_webhooks\event;
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Defines how to work with events. * Defines how to work with events.

View File

@ -24,7 +24,7 @@
namespace local_webhooks\event; namespace local_webhooks\event;
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Defines how to work with events. * Defines how to work with events.

View File

@ -24,7 +24,7 @@
namespace local_webhooks\event; namespace local_webhooks\event;
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Defines how to work with events. * Defines how to work with events.

View File

@ -24,7 +24,7 @@
namespace local_webhooks; namespace local_webhooks;
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
require_once(__DIR__ . "/../lib.php"); require_once(__DIR__ . "/../lib.php");
require_once(__DIR__ . "/../locallib.php"); require_once(__DIR__ . "/../locallib.php");

View File

@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @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"); require_once($CFG->libdir . "/formslib.php");

View File

@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
$observers = array( $observers = array(
array( array(

View File

@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
require_once(__DIR__ . "/locallib.php"); require_once(__DIR__ . "/locallib.php");

View File

@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
/** /**
* Description of functions of the call of events * Description of functions of the call of events

View File

@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
if ($hassiteconfig) { if ($hassiteconfig) {
$ADMIN->add("server", new admin_externalpage("local_webhooks", $ADMIN->add("server", new admin_externalpage("local_webhooks",

View File

@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/ */
defined("MOODLE_INTERNAL") || die(); defined('MOODLE_INTERNAL') || die();
$plugin->release = "3.0.1 (Build: 2018061900)"; $plugin->release = "3.0.1 (Build: 2018061900)";
$plugin->version = 2018061900; $plugin->version = 2018061900;