From cc1407632eaf0a52754a8425052a509651e345a1 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 26 Nov 2018 14:15:00 +1300 Subject: [PATCH] Fix typo when pushing fix #348 --- classes/privacy/provider.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php index 2fea98a..dfb1858 100644 --- a/classes/privacy/provider.php +++ b/classes/privacy/provider.php @@ -247,7 +247,7 @@ final class provider implements // Get list of warning_done records and check if this user is set in thirdpartyusers. foreach ($userids as $userid) { $sql = 'SELECT DISTINCT w.* - FROM {attendance_warning} w + FROM {attendance_warning} w JOIN {attendance_warning_done} d ON d.notifyid = w.id AND d.userid = ?'; $warnings = $DB->get_records_sql($sql, array($userid)); if (!empty($warnings)) { @@ -521,7 +521,6 @@ final class provider implements * @param string $path The path in the export (relative to the current context). * @param array $attendances Array of attendances to export the logs for. */ - */ private static function export_attendance_logs(string $path, array $attendances) { $attendancesbycontextid = self::group_by_property($attendances, 'contextid');