The plugin settings page has been fixed
This commit is contained in:
parent
071f3738b8
commit
5156f36d47
@ -17,14 +17,14 @@
|
|||||||
/**
|
/**
|
||||||
* Adds settings links to admin tree.
|
* Adds settings links to admin tree.
|
||||||
*
|
*
|
||||||
* @package tool_managertokens
|
* @package tool_managertokens
|
||||||
* @copyright 2017 "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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
defined("MOODLE_INTERNAL") || die();
|
defined("MOODLE_INTERNAL") || die();
|
||||||
|
|
||||||
if ($hassiteconfig) {
|
if ($hassiteconfig) {
|
||||||
$managertokens = new moodle_url("/admin/tool/managertokens/managertokens.php");
|
$managertokens = new moodle_url("/admin/tool/managertokens/index.php");
|
||||||
$ADMIN->add("accounts", new admin_externalpage("tool_managertokens", new lang_string("pluginname", "tool_managertokens"), $managertokens));
|
$ADMIN->add("accounts", new admin_externalpage("tool_managertokens", new lang_string("pluginname", "tool_managertokens"), $managertokens));
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user