Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'w36_MDL-35077_m22_stats' of git://github.com/skodak/moo…

…dle into MOODLE_22_STABLE
  • Loading branch information...
commit da91c22212746d4bccf17b66d0de616bb867aa12 2 parents 8646d0a + 9a9d65a
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  report/stats/settings.php
View
2  report/stats/settings.php
@@ -26,7 +26,7 @@
defined('MOODLE_INTERNAL') || die;
// just a link to course report
-$ADMIN->add('reports', new admin_externalpage('reportstats', get_string('pluginname', 'report_stats'), "$CFG->wwwroot/report/stats/index.php", 'report/stats:view'));
+$ADMIN->add('reports', new admin_externalpage('reportstats', get_string('pluginname', 'report_stats'), "$CFG->wwwroot/report/stats/index.php", 'report/stats:view', empty($CFG->enablestats)));
// no report settings
$settings = null;
Please sign in to comment.
Something went wrong with that request. Please try again.