mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-81327 report_log: Make group filtering logstore agnostic
The original implementation of group filtering introduced in MDL-80565 assumed that the log table existed in Moodle's own database. This is not the case of the database logstore, or any similar logstore implemetning the database \core\log\sql_reader interface. Furthermore this check was also applying the SQL when the user had the `accessallgroups` capability, or when the course was not in SEPARATE groups mode (no groupmode and/or visible groups). Co-authored: Laurent David <laurent.david@moodle.com>
- Loading branch information
1 parent
f67fa42
commit 61282aa
Showing
3 changed files
with
145 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.