diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-20 17:08:01 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-20 17:08:01 +0100 |
| commit | 1257022fb3baa2ab6674437bb86422615f590160 (patch) | |
| tree | 1f5700e0b2aa4209aaf1e5931a03e2f559f9c3fe /lib/filesystem/InboxOutboxFolder.php | |
| parent | c8b6c7ae16126c1c918e4e78635f1e1b1b6ca627 (diff) | |
use objects instead of idstic-4946
Diffstat (limited to 'lib/filesystem/InboxOutboxFolder.php')
| -rw-r--r-- | lib/filesystem/InboxOutboxFolder.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/filesystem/InboxOutboxFolder.php b/lib/filesystem/InboxOutboxFolder.php index bab9253..fe61573 100644 --- a/lib/filesystem/InboxOutboxFolder.php +++ b/lib/filesystem/InboxOutboxFolder.php @@ -235,7 +235,7 @@ class InboxOutboxFolder implements FolderType /** * Files are only downloadable for the owner. */ - public function isFileDownloadable(string $file_ref_id, string $user_id): bool + public function isFileDownloadable(FileRef $file_ref, string $user_id): bool { return $this->user && $user_id === $this->user->id; @@ -244,7 +244,7 @@ class InboxOutboxFolder implements FolderType /** * InboxOutboxFolders do not allow editing files. */ - public function isFileEditable(string $file_ref_id, string $user_id): bool + public function isFileEditable(FileRef $file_ref, string $user_id): bool { //files shall be unchanged in here return false; @@ -253,7 +253,7 @@ class InboxOutboxFolder implements FolderType /** * InboxOutboxFolders do not allow writing files. */ - public function isFileWritable(string $file_ref_id, string $user_id): bool + public function isFileWritable(FileRef $file_ref, string $user_id): bool { //files shall be unchanged in here return false; |
