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:
@ -12,7 +12,9 @@
|
||||
* @param int $postID Target post
|
||||
* @return bool TRUE in case of success / FALSE else
|
||||
*/
|
||||
function delete_user_notifications_other_post(int $userID, int $postID) : bool {
|
||||
function delete_user_notifications_over_post(int $userID, int $postID) : bool {
|
||||
|
||||
user_login_required();
|
||||
|
||||
$notification = new Notification();
|
||||
$notification->set_on_elem_type(Notification::POST);
|
||||
|
Reference in New Issue
Block a user