aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/controller
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/controller')
-rw-r--r--apps/encryption/controller/recoverycontroller.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/encryption/controller/recoverycontroller.php b/apps/encryption/controller/recoverycontroller.php
index 24d7f5a06ed..da55d81f63a 100644
--- a/apps/encryption/controller/recoverycontroller.php
+++ b/apps/encryption/controller/recoverycontroller.php
@@ -130,18 +130,6 @@ class RecoveryController extends Controller {
}
}
- public function userRecovery($userEnableRecovery) {
- if (isset($userEnableRecovery) && ($userEnableRecovery === '0' || $userEnableRecovery === '1')) {
- $userId = $this->user->getUID();
- if ($userEnableRecovery === '1') {
- // Todo xxx figure out if we need keyid's here or what.
- return $this->recovery->addRecoveryKeys();
- }
- // Todo xxx see :98
- return $this->recovery->removeRecoveryKeys();
- }
- }
-
/**
* @NoAdminRequired
*/