Revert "allow admin to disable groups on personal page"

This reverts commit 28e1a9da6c.

See #5259
This commit is contained in:
Morris Jobke 2017-06-13 10:43:21 -05:00
parent 2f7f6e28a2
commit 8760abae63
3 changed files with 0 additions and 8 deletions

View File

@ -1548,9 +1548,4 @@ $CONFIG = array(
*/ */
'gs.federation' => 'internal', 'gs.federation' => 'internal',
/**
* show group membership on the personal page
*/
'settings.personal.showGroupMembership' => true
); );

View File

@ -160,7 +160,6 @@ if ($storageInfo['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED) {
$uid = $user->getUID(); $uid = $user->getUID();
$userData = $accountManager->getUser($user); $userData = $accountManager->getUser($user);
$tmpl->assign('showGroupMembership', $config->getSystemValue('settings.personal.showGroupMembership', true));
$tmpl->assign('total_space', $totalSpace); $tmpl->assign('total_space', $totalSpace);
$tmpl->assign('usage_relative', $storageInfo['relative']); $tmpl->assign('usage_relative', $storageInfo['relative']);
$tmpl->assign('quota', $storageInfo['quota']); $tmpl->assign('quota', $storageInfo['quota']);

View File

@ -257,7 +257,6 @@
<div class="clear"></div> <div class="clear"></div>
<?php if ($_['showGroupMembership'] === true): ?>
<div id="groups" class="section"> <div id="groups" class="section">
<h2><?php p($l->t('Groups')); ?></h2> <h2><?php p($l->t('Groups')); ?></h2>
<p><?php p($l->t('You are member of the following groups:')); ?></p> <p><?php p($l->t('You are member of the following groups:')); ?></p>
@ -265,7 +264,6 @@
<?php p(implode(', ', $_['groups'])); ?> <?php p(implode(', ', $_['groups'])); ?>
</p> </p>
</div> </div>
<?php endif; ?>
<?php <?php
if($_['passwordChangeSupported']) { if($_['passwordChangeSupported']) {