From c18d7107b904f751ca77e4dff97b492e74a1da3c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 9 Sep 2018 21:13:57 +0400 Subject: Formatting the code on the settings page Signed-off-by: Valentin Popov --- settings.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/settings.php b/settings.php index 25e5ffd..f67daa5 100644 --- a/settings.php +++ b/settings.php @@ -17,16 +17,17 @@ /** * Settings of the plugin. * - * @package local_webhooks - * @copyright 2017 "Valentin Popov" + * @copyright 2018 'Valentin Popov' * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @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") - )); +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 -- cgit v1.2.3