BREAKING CHANGE: legacy management routes now fail closed and the legacy helper API is removed.
This commit is contained in:
+1
-11
@@ -22,15 +22,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
// phpcs:ignore moodle.Files.MoodleInternal.MoodleInternalNotNeeded -- Intentional inert upgrade tombstone.
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
if ($hassiteconfig) {
|
||||
$ADMIN->add(
|
||||
'server',
|
||||
new admin_externalpage(
|
||||
'local_webhooks',
|
||||
new lang_string('pluginname', 'local_webhooks'),
|
||||
new moodle_url('/local/webhooks/index.php')
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user