mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
fix(encryption): Remove additional check for home mount point
Signed-off-by: Stephen Cuppett <steve@cuppett.com>
This commit is contained in:
parent
7aaebddba2
commit
52f7e3d652
1 changed files with 0 additions and 8 deletions
|
|
@ -8,7 +8,6 @@
|
|||
namespace OC\Encryption;
|
||||
|
||||
use OC\Files\Filesystem;
|
||||
use OC\Files\Mount\HomeMountPoint;
|
||||
use OC\Files\Storage\Wrapper\Encryption;
|
||||
use OC\Files\View;
|
||||
use OC\Memcache\ArrayCache;
|
||||
|
|
@ -17,7 +16,6 @@ use OCP\Encryption\Keys\IStorage as EncryptionKeysStorage;
|
|||
use OCP\Files\Mount\IMountPoint;
|
||||
use OCP\Files\Storage\IDisableEncryptionStorage;
|
||||
use OCP\Files\Storage\IStorage;
|
||||
use OCP\IAppConfig;
|
||||
use OCP\IConfig;
|
||||
use OCP\IGroupManager;
|
||||
use OCP\IUserManager;
|
||||
|
|
@ -70,12 +68,6 @@ class EncryptionWrapper {
|
|||
if ($mountPoint === '/') {
|
||||
return $storage;
|
||||
}
|
||||
|
||||
// Skip encryption for home mounts if encryptHomeStorage is disabled
|
||||
if ($mount instanceof HomeMountPoint
|
||||
&& !Server::get(IAppConfig::class)->getValueBool('encryption', 'encryptHomeStorage', true)) {
|
||||
return $storage;
|
||||
}
|
||||
}
|
||||
|
||||
// Apply encryption wrapper
|
||||
|
|
|
|||
Loading…
Reference in a new issue