Delete notifications about post in different cases.

This commit is contained in:
Pierre
2018-02-18 18:47:59 +01:00
parent 39458fd592
commit abecb78111
4 changed files with 11 additions and 3 deletions

View File

@ -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;