summaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption/EncryptionWrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Encryption/EncryptionWrapper.php')
-rw-r--r--lib/private/Encryption/EncryptionWrapper.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/Encryption/EncryptionWrapper.php b/lib/private/Encryption/EncryptionWrapper.php
index 6389e996c1d..edbdc692b45 100644
--- a/lib/private/Encryption/EncryptionWrapper.php
+++ b/lib/private/Encryption/EncryptionWrapper.php
@@ -82,7 +82,6 @@ class EncryptionWrapper {
];
if (!$storage->instanceOfStorage(Storage\IDisableEncryptionStorage::class)) {
-
$user = \OC::$server->getUserSession()->getUser();
$mountManager = Filesystem::getMountManager();
$uid = $user ? $user->getUID() : null;
@@ -119,5 +118,4 @@ class EncryptionWrapper {
return $storage;
}
}
-
}