aboutsummaryrefslogtreecommitdiff
path: root/lib/filesystem/StandardFile.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2025-01-20 17:08:01 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2025-01-20 17:08:01 +0100
commit1257022fb3baa2ab6674437bb86422615f590160 (patch)
tree1f5700e0b2aa4209aaf1e5931a03e2f559f9c3fe /lib/filesystem/StandardFile.php
parentc8b6c7ae16126c1c918e4e78635f1e1b1b6ca627 (diff)
use objects instead of idstic-4946
Diffstat (limited to 'lib/filesystem/StandardFile.php')
-rw-r--r--lib/filesystem/StandardFile.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/filesystem/StandardFile.php b/lib/filesystem/StandardFile.php
index f357b47..ad16023 100644
--- a/lib/filesystem/StandardFile.php
+++ b/lib/filesystem/StandardFile.php
@@ -379,7 +379,7 @@ class StandardFile implements FileType, ArrayAccess, StandardFileInterface
{
$user_id || $user_id = $GLOBALS['user']->id;
return $this->getFolderType()->isFileDownloadable(
- $this->fileref->getId(),
+ $this->fileref,
$user_id
);
}
@@ -393,7 +393,7 @@ class StandardFile implements FileType, ArrayAccess, StandardFileInterface
{
$user_id || $user_id = $GLOBALS['user']->id;
return $this->getFolderType()->isFileEditable(
- $this->fileref->getId(),
+ $this->fileref,
$user_id
);
}
@@ -407,7 +407,7 @@ class StandardFile implements FileType, ArrayAccess, StandardFileInterface
{
$user_id || $user_id = $GLOBALS['user']->id;
return $this->getFolderType()->isFileWritable(
- $this->fileref->getId(),
+ $this->fileref,
$user_id
);
}