Skip to content

Commit

Permalink
Merge pull request #26 from alexander-schranz/bugfix/contact-remove
Browse files Browse the repository at this point in the history
remove contact when user is denied
  • Loading branch information
chirimoya authored Jul 13, 2016
2 parents fabec15 + 0e9c6d2 commit 1f7fe11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Controller/BlacklistConfirmationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public function denyAction(Request $request)
Configuration::DELETE_USER
)
) {
$entityManager->remove($user->getContact());
$entityManager->remove($user);
$entityManager->remove($blacklistUser);
}
Expand Down

0 comments on commit 1f7fe11

Please sign in to comment.