From 8760abae636b1c6f3f37e78300b318adb98d0220 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 13 Jun 2017 10:43:21 -0500 Subject: [PATCH] Revert "allow admin to disable groups on personal page" This reverts commit 28e1a9da6cd3bce3cc843727d54094db4969dd7b. See #5259 --- config/config.sample.php | 5 ----- settings/personal.php | 1 - settings/templates/personal.php | 2 -- 3 files changed, 8 deletions(-) diff --git a/config/config.sample.php b/config/config.sample.php index 60c184306d..9cff1a4b87 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1548,9 +1548,4 @@ $CONFIG = array( */ 'gs.federation' => 'internal', -/** - * show group membership on the personal page - */ -'settings.personal.showGroupMembership' => true - ); diff --git a/settings/personal.php b/settings/personal.php index e8c72e0036..fefd8392a1 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -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']); diff --git a/settings/templates/personal.php b/settings/templates/personal.php index b4a761a562..dbc5b5611d 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -257,7 +257,6 @@
-

t('Groups')); ?>

t('You are member of the following groups:')); ?>

@@ -265,7 +264,6 @@

-