From 0b7e375d32a4bd2d421e01cb8130075bf012732d Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 9 Jul 2019 09:14:15 +0800 Subject: [PATCH] MDL-56835 report_participation: remove unreachable if condition --- report/participation/index.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/report/participation/index.php b/report/participation/index.php index 3bb24c4236f..9708951c6cf 100644 --- a/report/participation/index.php +++ b/report/participation/index.php @@ -94,15 +94,6 @@ if (empty($logtable)) { $onlyuselegacyreader = true; } -// If no legacy and no logtable then don't proceed. -if (!$onlyuselegacyreader && empty($logtable)) { - echo $OUTPUT->box_start('generalbox', 'notice'); - echo get_string('nologreaderenabled', 'report_participation'); - echo $OUTPUT->box_end(); - echo $OUTPUT->footer(); - die(); -} - $modinfo = get_fast_modinfo($course); // Print first controls.