summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/Util.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/lib/Util.php')
-rw-r--r--apps/encryption/lib/Util.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/encryption/lib/Util.php b/apps/encryption/lib/Util.php
index 5926817dc48..eb2357bd10f 100644
--- a/apps/encryption/lib/Util.php
+++ b/apps/encryption/lib/Util.php
@@ -196,8 +196,7 @@ class Util {
* @return \OC\Files\Storage\Storage
*/
public function getStorage($path) {
- $storage = $this->files->getMount($path)->getStorage();
- return $storage;
+ return $this->files->getMount($path)->getStorage();
}
}