2017-10-22 14:10:07 +04:00
|
|
|
<?php
|
|
|
|
|
// This file is part of Moodle - http://moodle.org/
|
|
|
|
|
//
|
|
|
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Service Management Manager.
|
|
|
|
|
*
|
|
|
|
|
* @package local_webhooks
|
|
|
|
|
* @copyright 2017 "Valentin Popov" <info@valentineus.link>
|
|
|
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
|
|
*/
|
|
|
|
|
|
2018-11-02 00:36:09 +04:00
|
|
|
require_once(__DIR__ . '/../../config.php');
|
2017-11-23 17:47:47 +04:00
|
|
|
|
2026-08-20 08:08:30 +00:00
|
|
|
require_login();
|
|
|
|
|
require_capability('moodle/site:config', context_system::instance());
|
2017-10-26 18:18:31 +04:00
|
|
|
|
2026-08-20 08:08:30 +00:00
|
|
|
throw new moodle_exception('legacyuidisabled', 'local_webhooks');
|