Revert "private comment added to activity"

This reverts commit 1f2638626c.
This commit is contained in:
2022-04-25 14:43:44 +02:00
parent 1f2638626c
commit ff72b28861
9 changed files with 5 additions and 431 deletions

View File

@@ -20,7 +20,6 @@ use Chill\MainBundle\Entity\User;
use Chill\MainBundle\Form\Type\ChillCollectionType;
use Chill\MainBundle\Form\Type\ChillDateType;
use Chill\MainBundle\Form\Type\CommentType;
use Chill\MainBundle\Form\Type\PrivateCommentType;
use Chill\MainBundle\Form\Type\ScopePickerType;
use Chill\MainBundle\Form\Type\UserPickerType;
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
@@ -252,11 +251,6 @@ class ActivityType extends AbstractType
]);
}
$builder->add('privateComment', PrivateCommentType::class, [
'label' => 'activity.private comment',
'required' => false
]);
if ($activityType->isVisible('persons')) {
$builder->add('persons', HiddenType::class);
$builder->get('persons')