Merge branch 'MDL-80340-402' of https://github.com/lameze/moodle into MOODLE_402_STABLE
This commit is contained in:
@@ -584,7 +584,7 @@ function h5pactivity_print_recent_activity($course, bool $viewfullnames, int $ti
|
||||
JOIN {course_modules} cm ON cm.instance = h5p.id
|
||||
JOIN {modules} md ON md.id = cm.module
|
||||
JOIN {user} u ON u.id = h5pa.userid
|
||||
WHERE h5pa.timemodified > ?
|
||||
WHERE h5pa.timemodified >= ?
|
||||
AND h5p.course = ?
|
||||
AND md.name = ?
|
||||
ORDER BY h5pa.timemodified ASC";
|
||||
@@ -669,7 +669,7 @@ function h5pactivity_get_recent_mod_activity(array &$activities, int &$index, in
|
||||
JOIN {course_modules} cm ON cm.instance = h5p.id
|
||||
JOIN {modules} md ON md.id = cm.module
|
||||
JOIN {user} u ON u.id = h5pa.userid $groupjoin
|
||||
WHERE h5pa.timemodified > :timestart
|
||||
WHERE h5pa.timemodified >= :timestart
|
||||
AND h5p.id = :cminstance $userselect $groupselect
|
||||
AND cm.id = :cmid
|
||||
ORDER BY h5pa.timemodified ASC";
|
||||
|
||||
Reference in New Issue
Block a user