From d6f418cb77727fb6c9fee3b0c18305a716bb94ae Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Thu, 25 Jul 2013 11:54:38 +1000 Subject: [PATCH] MDL-40872 Restore functionality of showrecentsubmissions setting --- mod/assign/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/assign/lib.php b/mod/assign/lib.php index 42dff0abe79..ce515c693e6 100644 --- a/mod/assign/lib.php +++ b/mod/assign/lib.php @@ -517,7 +517,7 @@ function assign_print_recent_activity($course, $viewfullnames, $timestart) { $show = array(); $grader = array(); - $showrecentsubmissions = get_config('mod_assign', 'showrecentsubmissions'); + $showrecentsubmissions = get_config('assign', 'showrecentsubmissions'); foreach ($submissions as $submission) { if (!array_key_exists($submission->cmid, $modinfo->get_cms())) { @@ -670,7 +670,7 @@ function assign_get_recent_mod_activity(&$activities, $modinfo->groups = groups_get_user_groups($course->id); } - $showrecentsubmissions = get_config('mod_assign', 'showrecentsubmissions'); + $showrecentsubmissions = get_config('assign', 'showrecentsubmissions'); $show = array(); $usersgroups = groups_get_all_groups($course->id, $USER->id, $cm->groupingid); if (is_array($usersgroups)) {