summaryrefslogtreecommitdiffstats
path: root/lib/private/files/mount
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-05-29 14:15:48 +0200
committerRobin Appelman <icewind@owncloud.com>2014-05-29 14:15:48 +0200
commit0ae7a49c8e025a35189f62d125e1b4a8f5930c27 (patch)
treeaed733f879453f7a2134bd0773669135afcbcb63 /lib/private/files/mount
parent99d46af0b42dcf4ae221aebc862085615fc70af1 (diff)
downloadnextcloud-server-0ae7a49c8e025a35189f62d125e1b4a8f5930c27.tar.gz
nextcloud-server-0ae7a49c8e025a35189f62d125e1b4a8f5930c27.zip
Fix storage wrapper being called with null
Diffstat (limited to 'lib/private/files/mount')
-rw-r--r--lib/private/files/mount/mount.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/mount/mount.php b/lib/private/files/mount/mount.php
index d4a4e186fb9..7c40853ac95 100644
--- a/lib/private/files/mount/mount.php
+++ b/lib/private/files/mount/mount.php
@@ -161,6 +161,6 @@ class Mount {
* @param callable $wrapper
*/
public function wrapStorage($wrapper) {
- $this->storage = $wrapper($this->mountPoint, $this->storage);
+ $this->storage = $wrapper($this->mountPoint, $this->getStorage());
}
}