summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/keymanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/lib/keymanager.php')
-rw-r--r--apps/encryption/lib/keymanager.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/encryption/lib/keymanager.php b/apps/encryption/lib/keymanager.php
index 68fb722c5ea..d9b670c3f5a 100644
--- a/apps/encryption/lib/keymanager.php
+++ b/apps/encryption/lib/keymanager.php
@@ -375,10 +375,6 @@ class KeyManager {
$keyPair = $this->crypt->createKeyPair();
- // Disable encryption proxy to prevent recursive calls
- $proxyStatus = \OC_FileProxy::$enabled;
- \OC_FileProxy::$enabled = false;
-
// Save public key
$this->setPublicKey($user, $keyPair['publicKey']);
@@ -395,8 +391,6 @@ class KeyManager {
} else {
$this->log->error('Encryption Could not update users encryption password');
}
-
- \OC_FileProxy::$enabled = $proxyStatus;
}
}
}