aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Encryption/File.php')
-rw-r--r--lib/private/Encryption/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Encryption/File.php b/lib/private/Encryption/File.php
index c0a58d1256e..d4832d7caa2 100644
--- a/lib/private/Encryption/File.php
+++ b/lib/private/Encryption/File.php
@@ -70,7 +70,7 @@ class File implements \OCP\Encryption\IFile {
public function getAccessList($path) {
// Make sure that a share key is generated for the owner too
- list($owner, $ownerPath) = $this->util->getUidAndFilename($path);
+ [$owner, $ownerPath] = $this->util->getUidAndFilename($path);
// always add owner to the list of users with access to the file
$userIds = [$owner];