refactor!: retire legacy administration
Moodle Plugin CI / test (push) Successful in 3m26s

BREAKING CHANGE: legacy management routes now fail closed and the legacy helper API is removed.
This commit is contained in:
2026-08-20 08:08:30 +00:00
parent 297e4ab7cd
commit 82ba9222ff
17 changed files with 127 additions and 737 deletions
+1 -11
View File
@@ -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')
)
);
}