summaryrefslogtreecommitdiff
path: root/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings.php')
-rw-r--r--settings.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/settings.php b/settings.php
index 9a79c13..4da9dba 100644
--- a/settings.php
+++ b/settings.php
@@ -24,9 +24,14 @@
defined('MOODLE_INTERNAL') || die();
+/** @var \admin_root $ADMIN */
+
if ($hassiteconfig) {
- $ADMIN->add("server", new admin_externalpage("local_webhooks",
- new lang_string("pluginname", "local_webhooks"),
- new moodle_url("/local/webhooks/index.php")
- ));
+ $ADMIN->add(
+ 'server', new admin_externalpage(
+ 'local_webhooks',
+ new lang_string('pluginname', 'local_webhooks'),
+ new moodle_url('/local/webhooks/index.php')
+ )
+ );
} \ No newline at end of file