Formatting the code on the settings page
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
1701c9cf97
commit
c18d7107b9
17
settings.php
17
settings.php
@ -17,16 +17,17 @@
|
|||||||
/**
|
/**
|
||||||
* Settings of the plugin.
|
* Settings of the plugin.
|
||||||
*
|
*
|
||||||
* @package local_webhooks
|
* @copyright 2018 'Valentin Popov' <info@valentineus.link>
|
||||||
* @copyright 2017 "Valentin Popov" <info@valentineus.link>
|
|
||||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
* @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) {
|
if ( $hassiteconfig ) {
|
||||||
$ADMIN->add("server", new admin_externalpage("local_webhooks",
|
$ADMIN->add( "server", new admin_externalpage( "local_webhooks",
|
||||||
new lang_string("pluginname", "local_webhooks"),
|
new lang_string( "pluginname", "local_webhooks" ),
|
||||||
new moodle_url("/local/webhooks/index.php")
|
new moodle_url( "/local/webhooks/index.php" )
|
||||||
));
|
)
|
||||||
|
);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user