Merge pull request #5383 from nextcloud/revert-5259
Revert "allow admin to disable groups on personal page"
This commit is contained in:
commit
c4bb37b4ee
|
@ -1548,9 +1548,4 @@ $CONFIG = array(
|
|||
*/
|
||||
'gs.federation' => 'internal',
|
||||
|
||||
/**
|
||||
* show group membership on the personal page
|
||||
*/
|
||||
'settings.personal.showGroupMembership' => true
|
||||
|
||||
);
|
||||
|
|
|
@ -160,7 +160,6 @@ if ($storageInfo['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED) {
|
|||
$uid = $user->getUID();
|
||||
$userData = $accountManager->getUser($user);
|
||||
|
||||
$tmpl->assign('showGroupMembership', $config->getSystemValue('settings.personal.showGroupMembership', true));
|
||||
$tmpl->assign('total_space', $totalSpace);
|
||||
$tmpl->assign('usage_relative', $storageInfo['relative']);
|
||||
$tmpl->assign('quota', $storageInfo['quota']);
|
||||
|
|
|
@ -257,7 +257,6 @@
|
|||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php if ($_['showGroupMembership'] === true): ?>
|
||||
<div id="groups" class="section">
|
||||
<h2><?php p($l->t('Groups')); ?></h2>
|
||||
<p><?php p($l->t('You are member of the following groups:')); ?></p>
|
||||
|
@ -265,7 +264,6 @@
|
|||
<?php p(implode(', ', $_['groups'])); ?>
|
||||
</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if($_['passwordChangeSupported']) {
|
||||
|
|
Loading…
Reference in New Issue