Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-12-15 02:38:38 +0400
committerBart Visscher <bartv@thisnet.nl>2012-12-15 03:43:46 +0400
commit2ef2dc4ddabc8b5d86d7a9a5a936ecf3901615cc (patch)
treecab9483141ee8fee237abfdf9550117c1e98296f /settings
parent85bd28c5081e7c2fea236c4528c23be283aa7350 (diff)
Fix "There must be a single space between the closing parenthesis and the opening brace"
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/togglegroups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/togglegroups.php b/settings/ajax/togglegroups.php
index f82ece4aee1..83d455550ae 100644
--- a/settings/ajax/togglegroups.php
+++ b/settings/ajax/togglegroups.php
@@ -7,7 +7,7 @@ $success = true;
$username = $_POST["username"];
$group = $_POST["group"];
-if($username == OC_User::getUser() && $group == "admin" && OC_Group::inGroup($username, 'admin')){
+if($username == OC_User::getUser() && $group == "admin" && OC_Group::inGroup($username, 'admin')) {
$l = OC_L10N::get('core');
OC_JSON::error(array( 'data' => array( 'message' => $l->t('Admins can\'t remove themself from the admin group'))));
exit();