diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-06 15:33:34 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-14 11:13:58 +0100 |
| commit | dc64e78afd65df4c43aeeeaee9d620db8929b079 (patch) | |
| tree | 173ab176225fc08879a0b5480205bc3317d75f4c /lib/filesystem/HomeworkFolder.php | |
| parent | 3b632a43e4025dae05edb9ea2c1c891a90ce9987 (diff) | |
take file ref into account for decision whether to count download of a file ref, re #4946
Diffstat (limited to 'lib/filesystem/HomeworkFolder.php')
| -rw-r--r-- | lib/filesystem/HomeworkFolder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystem/HomeworkFolder.php b/lib/filesystem/HomeworkFolder.php index ee7a380..26dcef6 100644 --- a/lib/filesystem/HomeworkFolder.php +++ b/lib/filesystem/HomeworkFolder.php @@ -135,7 +135,7 @@ class HomeworkFolder extends PermissionEnabledFolder return $GLOBALS['perm']->have_studip_perm('tutor', $this->range_id, $user_id); } - public function countDownloads(): bool + public function countDownload(FileRef $ref): bool { return false; } |
