diff options
Diffstat (limited to 'settings.php')
-rw-r--r-- | settings.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/settings.php b/settings.php index f67daa5..e69898d 100644 --- a/settings.php +++ b/settings.php @@ -22,12 +22,16 @@ * @package local_webhooks */ -defined( "MOODLE_INTERNAL" ) || die(); +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" ) +/* @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') ) ); }
\ No newline at end of file |