Skip to content

Commit

Permalink
Update classes/privacy/provider.php
Browse files Browse the repository at this point in the history
fixes phpunit errors

Co-authored-by: Daniel Ziegenberg <daniel@ziegenberg.at>
  • Loading branch information
SpaceCafe and ziegenberg committed Apr 25, 2023
1 parent 5afcda0 commit 7b88e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static function get_contexts_for_userid(int $userid) : contextlist {
SELECT 1 FROM {moodleoverflow_tracking} track WHERE track.moodleoverflowid = mof.id AND track.userid = :tuserid
) OR EXISTS (
SELECT 1 FROM {moodleoverflow_grades} g WHERE g.moodleoverflowid = mof.id AND g.userid = :guserid
);";
)";

$params = [
'modname' => 'moodleoverflow',
Expand Down

0 comments on commit 7b88e22

Please sign in to comment.