Determine if notifications are suppressed when handeling events

This commit is contained in:
Nico Stapelbroek
2018-01-21 13:05:46 +01:00
parent f53f88f950
commit e358332048
5 changed files with 15 additions and 25 deletions

View File

@@ -26,11 +26,11 @@ interface System
public function getStatus();
/**
* Determine if Cachet has any open maintenance windows.
* Determine if Cachet is allowed to send notifications to users, subscribers or third party tools.
*
* @return bool
*/
public function underMaintenance();
public function canNotifySubscribers();
/**
* Get the cachet version.