aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/Controller/StatusController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/lib/Controller/StatusController.php')
-rw-r--r--apps/encryption/lib/Controller/StatusController.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/encryption/lib/Controller/StatusController.php b/apps/encryption/lib/Controller/StatusController.php
index d3925e4482a..40159627b00 100644
--- a/apps/encryption/lib/Controller/StatusController.php
+++ b/apps/encryption/lib/Controller/StatusController.php
@@ -67,10 +67,9 @@ class StatusController extends Controller {
* @return DataResponse
*/
public function getStatus() {
-
$status = 'error';
$message = 'no valid init status';
- switch($this->session->getStatus()) {
+ switch ($this->session->getStatus()) {
case Session::INIT_EXECUTED:
$status = 'interactionNeeded';
$message = (string)$this->l->t(
@@ -102,5 +101,4 @@ class StatusController extends Controller {
]
);
}
-
}