From 44577e4345066952622feca9ef69c24fc23d08ab Mon Sep 17 00:00:00 2001
From: Christoph Wurst
Date: Thu, 9 Apr 2020 16:07:47 +0200
Subject: Remove trailing and in between spaces
Signed-off-by: Christoph Wurst
---
.../encryption/lib/Controller/StatusController.php | 2 +-
apps/encryption/templates/altmail.php | 2 +-
apps/encryption/templates/settings-admin.php | 2 +-
apps/encryption/templates/settings-personal.php | 32 +++++++++++-----------
4 files changed, 19 insertions(+), 19 deletions(-)
(limited to 'apps/encryption')
diff --git a/apps/encryption/lib/Controller/StatusController.php b/apps/encryption/lib/Controller/StatusController.php
index fdd6de78e70..d3925e4482a 100644
--- a/apps/encryption/lib/Controller/StatusController.php
+++ b/apps/encryption/lib/Controller/StatusController.php
@@ -70,7 +70,7 @@ class StatusController extends Controller {
$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(
diff --git a/apps/encryption/templates/altmail.php b/apps/encryption/templates/altmail.php
index dde85e0af14..bea416f05fd 100644
--- a/apps/encryption/templates/altmail.php
+++ b/apps/encryption/templates/altmail.php
@@ -3,7 +3,7 @@
/** @var array $_ */
print_unescaped($l->t("Hey there,\n\nthe admin enabled server-side-encryption. Your files were encrypted using the password '%s'.\n\nPlease login to the web interface, go to the section 'basic encryption module' of your personal settings and update your encryption password by entering this password into the 'old log-in password' field and your current login-password.\n\n", [$_['password']]));
-if ( isset($_['expiration']) ) {
+if (isset($_['expiration'])) {
print_unescaped($l->t("The share will expire on %s.", [$_['expiration']]));
print_unescaped("\n\n");
}
diff --git a/apps/encryption/templates/settings-admin.php b/apps/encryption/templates/settings-admin.php
index 39d10490c44..48cc4d40da8 100644
--- a/apps/encryption/templates/settings-admin.php
+++ b/apps/encryption/templates/settings-admin.php
@@ -13,7 +13,7 @@ style('encryption', 'settings-admin');
/>
- t( "Enabling this option encrypts all files stored on the main storage, otherwise only files on external storage will be encrypted" ) ); ?>
+ t("Enabling this option encrypts all files stored on the main storage, otherwise only files on external storage will be encrypted")); ?>