Delete the intro after confirming it ;-)

This commit is contained in:
Philipp 2021-10-21 22:18:32 +02:00
parent e1574dc2e7
commit 1cb76d23ff
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View File

@ -25,6 +25,7 @@ class FollowConfirm extends BaseModule
$intro = DI::intro()->selectOneById($intro_id, local_user());
Contact\Introduction::confirm($intro, $duplex, $hidden);
DI::intro()->delete($intro);
DI::baseUrl()->redirect('contact/' . $intro->cid);
}