aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 16:05:56 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 16:05:56 +0200
commit42625a46be495ea1c60ac8fe8e13946fd9ed9732 (patch)
tree1b52fc65b8a5888f13f48226b2cb6672456c0b55 /apps/encryption/lib
parentc56a273b39186c509c57ef6bec221d3c4e3d81d3 (diff)
downloadnextcloud-server-42625a46be495ea1c60ac8fe8e13946fd9ed9732.tar.gz
nextcloud-server-42625a46be495ea1c60ac8fe8e13946fd9ed9732.zip
Remove spaces after method or function call
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/encryption/lib')
-rw-r--r--apps/encryption/lib/Controller/RecoveryController.php2
-rw-r--r--apps/encryption/lib/Crypto/EncryptAll.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/lib/Controller/RecoveryController.php b/apps/encryption/lib/Controller/RecoveryController.php
index 5cc5456844b..534e00e1b2e 100644
--- a/apps/encryption/lib/Controller/RecoveryController.php
+++ b/apps/encryption/lib/Controller/RecoveryController.php
@@ -121,7 +121,7 @@ class RecoveryController extends Controller {
if (empty($newPassword)) {
$errorMessage = (string)$this->l->t('Please provide a new recovery password');
- return new DataResponse (['data' => ['message' => $errorMessage]], Http::STATUS_BAD_REQUEST);
+ return new DataResponse(['data' => ['message' => $errorMessage]], Http::STATUS_BAD_REQUEST);
}
if (empty($confirmPassword)) {
diff --git a/apps/encryption/lib/Crypto/EncryptAll.php b/apps/encryption/lib/Crypto/EncryptAll.php
index 5c90631e85f..d0aaafd0617 100644
--- a/apps/encryption/lib/Crypto/EncryptAll.php
+++ b/apps/encryption/lib/Crypto/EncryptAll.php
@@ -473,11 +473,11 @@ class EncryptAll {
protected function createMailBody($password) {
$html = new \OC_Template("encryption", "mail", "");
- $html->assign ('password', $password);
+ $html->assign('password', $password);
$htmlMail = $html->fetchPage();
$plainText = new \OC_Template("encryption", "altmail", "");
- $plainText->assign ('password', $password);
+ $plainText->assign('password', $password);
$plainTextMail = $plainText->fetchPage();
return [$htmlMail, $plainTextMail];