mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-18 16:18:04 +00:00
Delete notifications about post in different cases.
This commit is contained in:
@ -51,6 +51,9 @@ class likesController {
|
||||
$id = getPostPostIDWithAccess("id");
|
||||
$componentType = Likes::LIKE_POST;
|
||||
|
||||
//Delete any notification targeting this user about the post
|
||||
delete_user_notifications_over_post(userID, $id);
|
||||
|
||||
break;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user