Formatting code and eliminating possible errors
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
13
settings.php
13
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')
|
||||
)
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user