From 4bd36bc5004ea5f53265ecfe979f56136b3967a3 Mon Sep 17 00:00:00 2001 From: Johannes Meyer <johannes.meyer@netways.de> Date: Mon, 1 Jun 2015 14:25:29 +0200 Subject: [PATCH] UserGroupForm: Notify the user that memberships will be cleared... ...when removing a group. refs #8826 --- application/forms/Config/UserGroup/UserGroupForm.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/forms/Config/UserGroup/UserGroupForm.php b/application/forms/Config/UserGroup/UserGroupForm.php index eb3c2846d..598029c1d 100644 --- a/application/forms/Config/UserGroup/UserGroupForm.php +++ b/application/forms/Config/UserGroup/UserGroupForm.php @@ -59,6 +59,10 @@ class UserGroupForm extends RepositoryForm protected function createDeleteElements(array $formData) { $this->setTitle(sprintf($this->translate('Remove group %s?'), $this->getIdentifier())); + $this->addDescription($this->translate( + 'Note that all users that are currently a member of this group will' + . ' have their membership cleared automatically.' + )); $this->setSubmitLabel($this->translate('Yes')); }