diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-08-23 23:10:37 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-08-23 23:10:37 +0200 |
commit | 6ffa2a28d0ae63b061e1e88ee3b12726d31c3f9d (patch) | |
tree | b564539f21866e6049d69da6d011647ff46540f7 /lib/files/mount/mount.php | |
parent | 1dab0767502013b5e86e8e24e3b12a2a8939f7a8 (diff) | |
parent | 02b2b5a808b135007d8d54b837e70c38f02729fd (diff) | |
download | nextcloud-server-6ffa2a28d0ae63b061e1e88ee3b12726d31c3f9d.tar.gz nextcloud-server-6ffa2a28d0ae63b061e1e88ee3b12726d31c3f9d.zip |
Merge branch 'master' into oc_preview
Diffstat (limited to 'lib/files/mount/mount.php')
-rw-r--r-- | lib/files/mount/mount.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/files/mount/mount.php b/lib/files/mount/mount.php index 17b0055ee84..0ce2f5975c7 100644 --- a/lib/files/mount/mount.php +++ b/lib/files/mount/mount.php @@ -138,4 +138,11 @@ class Mount { } return $path; } + + /** + * @param callable $wrapper + */ + public function wrapStorage($wrapper) { + $this->storage = $wrapper($this->mountPoint, $this->storage); + } } |