Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
craigh committed Jul 14, 2017
1 parent 608aa21 commit 4b43e70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function deleteAction(Request $request, UserEntity $user = null)
}
}
if ($valid && $deleteConfirmationForm->isValid()) {
// @todo send email to 'denied' registrations. see MailHelper::sendNotification (regdeny)
// send email to 'denied' registrations. see MailHelper::sendNotification (regdeny) #2915
$deletedUsers = $this->get('zikula_users_module.user_repository')->query(['uid' => ['operator' => 'in', 'operand' => $userIds]]);
foreach ($deletedUsers as $deletedUser) {
$eventName = $deletedUser->getActivated() == UsersConstant::ACTIVATED_ACTIVE ? UserEvents::DELETE_ACCOUNT : RegistrationEvents::DELETE_REGISTRATION;
Expand Down Expand Up @@ -364,7 +364,7 @@ public function searchAction(Request $request)
]);
$form->handleRequest($request);
if ($form->isSubmitted()) {
// @TODO the users.search.process_edit event is no longer dispatched with this method. could it be done in a Transformer?
// the users.search.process_edit event is no longer dispatched with this method. could it be done in a Transformer? #3652
$deleteForm = $this->createForm(DeleteType::class, [], [
'choices' => $this->get('zikula_users_module.user_repository')->queryBySearchForm($form->getData()),
'action' => $this->generateUrl('zikulausersmodule_useradministration_delete'),
Expand Down

0 comments on commit 4b43e70

Please sign in to comment.