aboutsummaryrefslogtreecommitdiff
path: root/lib/filesystem/HomeworkFolder.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2025-01-06 15:33:34 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-01-14 11:13:58 +0100
commitdc64e78afd65df4c43aeeeaee9d620db8929b079 (patch)
tree173ab176225fc08879a0b5480205bc3317d75f4c /lib/filesystem/HomeworkFolder.php
parent3b632a43e4025dae05edb9ea2c1c891a90ce9987 (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.php2
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;
}