Skip to content

Commit

Permalink
MDL-35336 report (course overview): check the setting for enablestats…
Browse files Browse the repository at this point in the history
… before printing out the node for setting > site admin > reports
  • Loading branch information
Rossiani Wijaya committed Feb 18, 2013
1 parent 39239e2 commit 9f2be81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report/courseoverview/settings.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


defined('MOODLE_INTERNAL') || die; defined('MOODLE_INTERNAL') || die;


$ADMIN->add('reports', new admin_externalpage('reportcourseoverview', get_string('pluginname', 'report_courseoverview'), "$CFG->wwwroot/report/courseoverview/index.php",'report/courseoverview:view')); $ADMIN->add('reports', new admin_externalpage('reportcourseoverview', get_string('pluginname', 'report_courseoverview'), "$CFG->wwwroot/report/courseoverview/index.php",'report/courseoverview:view', empty($CFG->enablestats)));


// no report settings // no report settings
$settings = null; $settings = null;

0 comments on commit 9f2be81

Please sign in to comment.