mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-45293 report_participation: ensure only web and ws logs are shown
This commit is contained in:
parent
83ddacfff7
commit
66d8b25b1c
1 changed files with 1 additions and 0 deletions
|
@ -275,6 +275,7 @@ if (!empty($instanceid) && !empty($roleid)) {
|
||||||
AND edulevel = :edulevel
|
AND edulevel = :edulevel
|
||||||
AND anonymous = 0
|
AND anonymous = 0
|
||||||
AND contextlevel = :contextlevel
|
AND contextlevel = :contextlevel
|
||||||
|
AND (origin = 'web' OR origin = 'ws')
|
||||||
GROUP BY userid) l ON (l.userid = ra.userid)";
|
GROUP BY userid) l ON (l.userid = ra.userid)";
|
||||||
|
|
||||||
$params['edulevel'] = core\event\base::LEVEL_PARTICIPATING;
|
$params['edulevel'] = core\event\base::LEVEL_PARTICIPATING;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue