summaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-04-19 23:53:47 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:57 +0200
commitb56d14260d1c5f1fc7a7dd8d7b66974f9ca4e43f (patch)
tree771a8053d8088d747556bd2a68c0879b0917628e /settings/users.php
parenta9bd416643ad950de5f21aaaa4f5c77dd51c787a (diff)
downloadnextcloud-server-b56d14260d1c5f1fc7a7dd8d7b66974f9ca4e43f.tar.gz
nextcloud-server-b56d14260d1c5f1fc7a7dd8d7b66974f9ca4e43f.zip
Rename $isadmin to $isAdmin
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/users.php b/settings/users.php
index a1a1a41e67f..76431e78513 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -33,16 +33,16 @@ if (isset($_GET['limit'])) {
$limit = 10;
}
-$isadmin = OC_User::isAdminUser(OC_User::getUser());
+$isAdmin = OC_User::isAdminUser(OC_User::getUser());
-$groupsInfo = new \OC\Group\MetaData(OC_User::getUser(), $isadmin, $groupManager);
+$groupsInfo = new \OC\Group\MetaData(OC_User::getUser(), $isAdmin, $groupManager);
$groupsInfo->setSorting($groupsInfo::SORT_USERCOUNT);
list($adminGroup, $groups) = $groupsInfo->get();
$recoveryAdminEnabled = OC_App::isEnabled('files_encryption') &&
OC_Appconfig::getValue( 'files_encryption', 'recoveryAdminEnabled' );
-if($isadmin) {
+if($isAdmin) {
$accessibleusers = OC_User::getDisplayNames('', 30);
$subadmins = OC_SubAdmin::getAllSubAdmins();
}else{
@@ -90,7 +90,7 @@ $tmpl = new OC_Template( "settings", "users/main", "user" );
$tmpl->assign( 'users', $users );
$tmpl->assign( 'groups', $groups );
$tmpl->assign( 'adminGroup', $adminGroup );
-$tmpl->assign( 'isadmin', (int) $isadmin);
+$tmpl->assign( 'isAdmin', (int) $isAdmin);
$tmpl->assign( 'subadmins', $subadmins);
$tmpl->assign( 'numofgroups', count($groups) + count($adminGroup));
$tmpl->assign( 'quota_preset', $quotaPreset);