diff options
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/users.php b/settings/users.php index a3faa51ea0e..e1b3083ed3e 100644 --- a/settings/users.php +++ b/settings/users.php @@ -17,6 +17,7 @@ OC_App::setActiveNavigationEntry( 'core_users' ); $users = array(); $groups = array(); +$userManager = \OC_User::getManager(); if (isset($_GET['offset'])) { $offset = $_GET['offset']; @@ -66,6 +67,7 @@ foreach($accessibleusers as $uid => $displayName) { $name = $name . ' ('.$uid.')'; } + $user = $userManager->get($uid); $users[] = array( "name" => $uid, "displayName" => $displayName, @@ -73,6 +75,7 @@ foreach($accessibleusers as $uid => $displayName) { 'quota' => $quota, 'isQuotaUserDefined' => $isQuotaUserDefined, 'subadmin' => OC_SubAdmin::getSubAdminsGroups($uid), + 'storageLocation' => $user->getHome(), ); } |