From 47162a5b591db3baf4856e848c1f84aadbb28bfe Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Wed, 8 Dec 2004 10:39:06 +0000 Subject: [PATCH] fixed cutoffime misprint --- mod/workshop/lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/workshop/lib.php b/mod/workshop/lib.php index e122821b46..fff656d80b 100644 --- a/mod/workshop/lib.php +++ b/mod/workshop/lib.php @@ -1268,7 +1268,7 @@ function workshop_file_area_name($workshop, $submission) { /////////////////////////////////////////////////////////////////////////////////////////////// function workshop_get_agree_logs($course, $timestart) { - // get the "agree" entries for this user (the assessment owner and add the first and last names + // get the "agree" entries for this user (the assessment owner) and add the first and last names // the last two probably wont be used... global $CFG, $USER; if (empty($USER->id)) { @@ -1452,7 +1452,7 @@ function workshop_get_unmailed_assessments($cutofftime) { WHERE a.mailed = 0 AND a.timecreated < $cutofftime AND g.id = a.workshopid - AND g.releasegrades < $cutoffime"); + AND g.releasegrades < $cutofftime"); } @@ -1504,7 +1504,7 @@ function workshop_get_user_assessments($workshop, $user) { ////////////////////////////////////////////////////////////////////////////////////// function workshop_get_user_submissions($workshop, $user) { // return real submissions of user newest first, oldest last. Ignores the dummy submissions - // which get created to hold the final grades for users for make no submissions) + // which get created to hold the final grades for users that make no submissions return get_records_select("workshop_submissions", "workshopid = $workshop->id AND userid = $user->id AND timecreated > 0", "timecreated DESC" ); } -- 2.39.5