Kumi
d3eed13d51
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.
9 lines
252 B
PHP
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'
|
|
));
|