aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-03-01 15:23:17 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2018-03-02 10:09:52 +0100
commit8042e6b8fb0f0b4d3dd2c291729144f767575c56 (patch)
tree7fbf72c70dbf1c2173032a940167d6da00caef16 /lib/private/Encryption
parent0f3ba9444e8b683ba89e100b6a43cab70b3788b9 (diff)
downloadnextcloud-server-8042e6b8fb0f0b4d3dd2c291729144f767575c56.tar.gz
nextcloud-server-8042e6b8fb0f0b4d3dd2c291729144f767575c56.zip
this was a migration step to ownCloud 8.0 to restructure the encryption folder which is no longer needed
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Encryption')
-rw-r--r--lib/private/Encryption/Manager.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/private/Encryption/Manager.php b/lib/private/Encryption/Manager.php
index fe34ef4555b..9bec1db73e3 100644
--- a/lib/private/Encryption/Manager.php
+++ b/lib/private/Encryption/Manager.php
@@ -101,15 +101,6 @@ class Manager implements IManager {
* @throws ServiceUnavailableException
*/
public function isReady() {
- // check if we are still in transit between the old and the new encryption
- $oldEncryption = $this->config->getAppValue('files_encryption', 'installed_version');
- if (!empty($oldEncryption)) {
- $warning = 'Installation is in transit between the old Encryption (ownCloud <= 8.0)
- and the new encryption. Please enable the "Default encryption module"
- and run \'occ encryption:migrate\'';
- $this->logger->warning($warning);
- return false;
- }
if ($this->isKeyStorageReady() === false) {
throw new ServiceUnavailableException('Key Storage is not ready');