moodle-report_usergrades/settings.php
Kumi d3eed13d51
fix: Removes login page error check for usergrades
Eliminates redundant $hassiteconfig condition, preventing potential
login page errors as site configuration check is unnecessary for
accessing the user grades report administration.

Updates URL concatenation to use $CFG->wwwroot for consistency.
2024-11-20 18:15:02 +01:00

9 lines
252 B
PHP

<?php
defined('MOODLE_INTERNAL') || die();
$ADMIN->add('reports', new admin_externalpage(
'report_usergrades',
get_string('pluginname', 'report_usergrades'),
$CFG->wwwroot . "/report/usergrades/index.php",
'report/usergrades:view'
));