Function alert_delete
Deletes a single or a group of alerts by ID
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Profile-Modify.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Profile-Modify.php
integer|array |
$toDelete |
ID of a single alert to delete or an array containing the IDs of multiple alerts. The function will convert integers into an array for better handling. |
boolean|integer |
$memID = false |
The user ID. Used to update the user unread alerts count. |
|integer
|
If the $memID param is set, returns the new amount of unread alerts. |