summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-04-20 00:41:10 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:57 +0200
commitf2fed6de4e186f3f5ff66bc727d5576827433c16 (patch)
treeb8689d47e5ed32f10a15570ce2d684407b303600 /settings
parent8141b9181ca265ac1782619324c70eb92326860f (diff)
downloadnextcloud-server-f2fed6de4e186f3f5ff66bc727d5576827433c16.tar.gz
nextcloud-server-f2fed6de4e186f3f5ff66bc727d5576827433c16.zip
Rename $accessiblegroups to $accessibleGroups
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/grouplist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/grouplist.php b/settings/ajax/grouplist.php
index 62c345a9ff0..79143ee89ca 100644
--- a/settings/ajax/grouplist.php
+++ b/settings/ajax/grouplist.php
@@ -38,10 +38,10 @@ $groupsInfo = new \OC\Group\MetaData(OC_User::getUser(), true, $groupManager);
$groupsInfo->setSorting($groupsInfo::SORT_USERCOUNT);
list($adminGroup, $groups) = $groupsInfo->get($pattern);
-$accessiblegroups = $groupManager->search($pattern);
+$accessibleGroups = $groupManager->search($pattern);
if(!$isAdmin) {
$subadminGroups = OC_SubAdmin::getSubAdminsGroups(OC_User::getUser());
- $accessiblegroups = array_intersect($groups, $subadminGroups);
+ $accessibleGroups = array_intersect($groups, $subadminGroups);
}
OC_JSON::success(