///////////////////////////////////////////////////////////////////////////////////////////////
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)) {
WHERE a.mailed = 0
AND a.timecreated < $cutofftime
AND g.id = a.workshopid
- AND g.releasegrades < $cutoffime");
+ AND g.releasegrades < $cutofftime");
}
//////////////////////////////////////////////////////////////////////////////////////
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" );
}