summaryrefslogtreecommitdiffstats
path: root/settings/ajax/changepassword.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 18:36:16 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 18:36:16 +0100
commit27ab0357ae00541bbcff52453c2d86e723a992e0 (patch)
treeca4fbd4b27db520b7e1776f1149bdbfe7c71a706 /settings/ajax/changepassword.php
parentbc4382c5c5649c3ad0e9e3be18a747815473f9fe (diff)
downloadnextcloud-server-27ab0357ae00541bbcff52453c2d86e723a992e0.tar.gz
nextcloud-server-27ab0357ae00541bbcff52453c2d86e723a992e0.zip
Checkstyle: Fix last six NewlineBeforeOpenBrace
Diffstat (limited to 'settings/ajax/changepassword.php')
-rw-r--r--settings/ajax/changepassword.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php
index a0fe5947b6d..b2db2611518 100644
--- a/settings/ajax/changepassword.php
+++ b/settings/ajax/changepassword.php
@@ -16,8 +16,7 @@ if(OC_SubAdmin::isUserAccessible(OC_User::getUser(), $username)) {
$userstatus = 'subadmin';
}
if(OC_User::getUser() === $username) {
- if (OC_User::checkPassword($username, $oldPassword))
- {
+ if (OC_User::checkPassword($username, $oldPassword)) {
$userstatus = 'user';
} else {
if (!OC_Util::isUserVerified()) {