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:
Neil Lathwood
2019-02-15 13:58:59 +00:00
committed by Tony Murray
parent 0835d8899e
commit 5d74839139
6 changed files with 25 additions and 298 deletions

View File

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