diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-08-29 15:19:20 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-08-29 15:19:20 +0200 |
commit | d90b31401c412d18e29ac08f6d091d09d1fc4ce0 (patch) | |
tree | e51710f116d92f2689d4988e29e8b41e2b2da498 /lib | |
parent | b3cd9b557358a3aa506d7ad24883650d4449bb8c (diff) | |
download | nextcloud-server-d90b31401c412d18e29ac08f6d091d09d1fc4ce0.tar.gz nextcloud-server-d90b31401c412d18e29ac08f6d091d09d1fc4ce0.zip |
Fix OCP\Util documentation blocks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/Util.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/Util.php b/lib/public/Util.php index ad8818df3ca..85472b9c912 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -630,7 +630,10 @@ class Util { } /** + * Compute the fileId to use for dav responses + * * @param int $id Id of the file returned by FileInfo::getId + * @since 25.0.0 */ public static function getDavFileId(int $id): string { $instanceId = \OC_Util::getInstanceId(); @@ -638,6 +641,11 @@ class Util { return $id . $instanceId; } + /** + * Compute the format needed for returning permissions for dav + * + * @since 25.0.0 + */ public static function getDavPermissions(\OCP\Files\FileInfo $info): string { $p = ''; if ($info->isShared()) { |