]> git.mjollnir.org Git - moodle.git/commitdiff
fixed cutoffime misprint
authorgustav_delius <gustav_delius>
Wed, 8 Dec 2004 10:39:06 +0000 (10:39 +0000)
committergustav_delius <gustav_delius>
Wed, 8 Dec 2004 10:39:06 +0000 (10:39 +0000)
mod/workshop/lib.php

index e122821b466bf2bacaafaf9ed2b33ca912b400dc..fff656d80babd69191a0f6b1cb18ecff67922f0f 100644 (file)
@@ -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" );
 }