diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-02-18 14:34:08 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:52:53 +0200 |
commit | dc28f589517e05ef29c6c06145ab4944c0aa2994 (patch) | |
tree | 644b62800222885f96d7c854cab11ad869f52198 /settings/users.php | |
parent | dc1523355b351cc0adf3e5893294cafe2651d8a0 (diff) | |
download | nextcloud-server-dc28f589517e05ef29c6c06145ab4944c0aa2994.tar.gz nextcloud-server-dc28f589517e05ef29c6c06145ab4944c0aa2994.zip |
add Storage Location col
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(), ); } |