compare the correct uids
This commit is contained in:
parent
4271430e60
commit
64e853394c
|
@ -157,7 +157,7 @@ var isadmin = <?php echo $_['isadmin']?'true':'false'; ?>;
|
|||
</div>
|
||||
</td>
|
||||
<td class="remove">
|
||||
<?php if($user['name']!=OC_User::getUser()):?>
|
||||
<?php if($user['uid']!=OC_User::getUser()):?>
|
||||
<a href="#" class="action delete" original-title="<?php echo $l->t('Delete')?>">
|
||||
<img src="<?php echo image_path('core', 'actions/delete.svg') ?>" />
|
||||
</a>
|
||||
|
|
|
@ -53,6 +53,7 @@ foreach($accessibleusers as $displayName => $uid) {
|
|||
|
||||
$users[] = array(
|
||||
"name" => $name,
|
||||
"uid" => $uid,
|
||||
"groups" => join( ", ", /*array_intersect(*/OC_Group::getUserGroups($uid)/*, OC_SubAdmin::getSubAdminsGroups(OC_User::getUser()))*/),
|
||||
'quota'=>$quota,
|
||||
'isQuotaUserDefined'=>$isQuotaUserDefined,
|
||||
|
|
Loading…
Reference in New Issue