1
0
Fork 0

Delete the intro after confirming it ;-)

This commit is contained in:
Philipp Holzer 2021-10-21 22:18:32 +02:00
parent e1574dc2e7
commit 1cb76d23ff
Signed by: nupplaPhil
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);
}