summaryrefslogtreecommitdiffstats
path: root/settings/ajax/changepassword.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-14 20:10:10 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-14 20:10:10 +0100
commit0810d80f8a0f8611ed6f7befd4442ceb9b061781 (patch)
treeb5b80353675f3a8e594847042c4256a8b78352ae /settings/ajax/changepassword.php
parentfef73d96d1da8ac98d43674bc00f0159f92e219e (diff)
downloadnextcloud-server-0810d80f8a0f8611ed6f7befd4442ceb9b061781.tar.gz
nextcloud-server-0810d80f8a0f8611ed6f7befd4442ceb9b061781.zip
Add a closing )
Thanks Jenkins!
Diffstat (limited to 'settings/ajax/changepassword.php')
-rw-r--r--settings/ajax/changepassword.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/changepassword.php b/settings/ajax/changepassword.php
index cf440c577da..aed000f7f24 100644
--- a/settings/ajax/changepassword.php
+++ b/settings/ajax/changepassword.php
@@ -9,7 +9,7 @@ $password = $_POST["password"];
$oldPassword=isset($_POST["oldpassword"])?$_POST["oldpassword"]:'';
$userstatus = null;
-if(OC_User::isAdminUser(OC_User::getUser()) {
+if(OC_User::isAdminUser(OC_User::getUser())) {
$userstatus = 'admin';
}
if(OC_SubAdmin::isUserAccessible(OC_User::getUser(), $username)) {