Browse Source

Fix unit test failure. (#367)

MOODLE_36_STABLE
Michael Aherne 6 years ago
committed by Dan Marsden
parent
commit
68fed87044
  1. 4
      classes/privacy/provider.php

4
classes/privacy/provider.php

@ -144,7 +144,7 @@ final class provider implements
'contextid' => $context->id,
];
$userlist->add_from_sql('userid', $sql, $params);
$userlist->add_from_sql('studentid', $sql, $params);
$sql = "SELECT al.takenby
FROM {course_modules} cm
@ -155,7 +155,7 @@ final class provider implements
JOIN {attendance_log} al ON asess.id = al.sessionid
WHERE ctx.id = :contextid";
$userlist->add_from_sql('userid', $sql, $params);
$userlist->add_from_sql('takenby', $sql, $params);
}
/**

Loading…
Cancel
Save