Delete the intro after confirming it ;-)
This commit is contained in:
parent
e1574dc2e7
commit
1cb76d23ff
|
@ -25,6 +25,7 @@ class FollowConfirm extends BaseModule
|
||||||
$intro = DI::intro()->selectOneById($intro_id, local_user());
|
$intro = DI::intro()->selectOneById($intro_id, local_user());
|
||||||
|
|
||||||
Contact\Introduction::confirm($intro, $duplex, $hidden);
|
Contact\Introduction::confirm($intro, $duplex, $hidden);
|
||||||
|
DI::intro()->delete($intro);
|
||||||
|
|
||||||
DI::baseUrl()->redirect('contact/' . $intro->cid);
|
DI::baseUrl()->redirect('contact/' . $intro->cid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user