summaryrefslogtreecommitdiffstats
path: root/lib/private/files/stream
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-17 12:38:54 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-04-21 14:58:01 +0200
commit19e8c4fcb1726e5935cb3aa9fcf6175999d5a277 (patch)
tree8b806b6becd668f08f38dadead6464f35bb3cf95 /lib/private/files/stream
parentb0fcf0fa0ee8846e2ba35ede5968ed0227c5675d (diff)
downloadnextcloud-server-19e8c4fcb1726e5935cb3aa9fcf6175999d5a277.tar.gz
nextcloud-server-19e8c4fcb1726e5935cb3aa9fcf6175999d5a277.zip
get dirname from sharePath
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r--lib/private/files/stream/encryption.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php
index 2ec15251a23..79493311a43 100644
--- a/lib/private/files/stream/encryption.php
+++ b/lib/private/files/stream/encryption.php
@@ -232,7 +232,7 @@ class Encryption extends Wrapper {
$sharePath = $this->fullPath;
if (!$this->storage->file_exists($this->internalPath)) {
- $sharePath = dirname($path);
+ $sharePath = dirname($sharePath);
}
$accessList = $this->file->getAccessList($sharePath);