]> source.dussan.org Git - nextcloud-server.git/commit
Don't add the Encryption Storage Wrapper if there are no encryption modules
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 29 Mar 2017 10:23:46 +0000 (12:23 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Wed, 29 Mar 2017 16:57:56 +0000 (18:57 +0200)
commit111c9f7563f1ac43d8e615a2aa8dc89375a1ffb6
treed2c908d6b62374ac88770232b329fdf2df0710a5
parentc1030a34a589a27e448a5f97d5e40e0459692a89
Don't add the Encryption Storage Wrapper if there are no encryption modules

fixes #4125

If there is no encryption module enabled it makes no sense to setup the
encryption wrapper (because we can't do anything anyway).

This saves reading the header of files.
Especialy on external storage/objectstore this should improve
performance

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Encryption/Manager.php