Function logTriggersUpdates
A small function to unify logging of triggers (updates and new)
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageBans.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageBans.php
array |
$logs |
<p>an array of logs, each log contains the following keys: - bantype: a known type of ban (ip_range, hostname, email, user, main_ip) - value: the value of the bantype (e.g. the IP or the email address banned)</p> |
boolean |
$new = true |
Whether the trigger is new or an update of an existing one |
boolean |
$removal = false |
Whether the trigger is being deleted |