This commit is contained in:
+3
-4
@@ -24,14 +24,13 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
/* @var \admin_root $ADMIN */
|
||||
|
||||
if ($hassiteconfig) {
|
||||
$ADMIN->add(
|
||||
'server', new admin_externalpage(
|
||||
'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