summaryrefslogtreecommitdiffstats
path: root/settings
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
parentbc4382c5c5649c3ad0e9e3be18a747815473f9fe (diff)
downloadnextcloud-server-27ab0357ae00541bbcff52453c2d86e723a992e0.tar.gz
nextcloud-server-27ab0357ae00541bbcff52453c2d86e723a992e0.zip
Checkstyle: Fix last six NewlineBeforeOpenBrace
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/changepassword.php3
-rw-r--r--settings/templates/help.php3
2 files changed, 2 insertions, 4 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()) {
diff --git a/settings/templates/help.php b/settings/templates/help.php
index b2a78ff8512..56d43853444 100644
--- a/settings/templates/help.php
+++ b/settings/templates/help.php
@@ -12,8 +12,7 @@
<?php
$url=OC_Helper::linkTo( "settings", "help.php" ).'?page=';
$pageNavi=OC_Util::getPageNavi($_['pagecount'], $_['page'], $url);
- if($pageNavi)
- {
+ if($pageNavi) {
$pageNavi->printPage();
}
?>