aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-09-09 20:13:57 +0300
committerValentin Popov <info@valentineus.link>2018-09-09 20:13:57 +0300
commitc18d7107b904f751ca77e4dff97b492e74a1da3c (patch)
treeacde08ee394e4730d221cad6e6b88513a57e6f4d
parent1701c9cf97b37ebdd8fbcdab0a4ac815ae0a9b3c (diff)
downloadlocal_webhooks-c18d7107b904f751ca77e4dff97b492e74a1da3c.tar.xz
local_webhooks-c18d7107b904f751ca77e4dff97b492e74a1da3c.zip
Formatting the code on the settings page
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--settings.php17
1 files 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" <info@valentineus.link>
+ * @copyright 2018 'Valentin Popov' <info@valentineus.link>
* @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