mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Removed legacy transports and templates code (#9646)
* Removed legacy transports and templates code * Add notification * abstract LnmsCommand * Only issue alerts "legacy" alerts to mail for default contacts, etc. * Prevent no contacts error when default contact is not specified, or there are no contacts for other reasons. * remove eval \o/ * Update notifications.rss
This commit is contained in:
committed by
Tony Murray
parent
0835d8899e
commit
5d74839139
@@ -31,7 +31,7 @@ interface Transport
|
||||
* Gets called when an alert is sent
|
||||
*
|
||||
* @param $alert_data array An array created by DescribeAlert
|
||||
* @param $opts array|true The options from $config['alert']['transports'][$transport]
|
||||
* @param $opts array|true The options from the alert_transports transport_config column
|
||||
* @return mixed Returns if the call was successful
|
||||
*/
|
||||
public function deliverAlert($alert_data, $opts);
|
||||
|
Reference in New Issue
Block a user