Don't send notifications when within maintenance window. Fixes #2720

This commit is contained in:
James Brooks
2017-09-14 19:02:34 +01:00
committed by Nico Stapelbroek
parent 8485821491
commit f53f88f950
6 changed files with 79 additions and 4 deletions

View File

@@ -25,6 +25,13 @@ interface System
*/
public function getStatus();
/**
* Determine if Cachet has any open maintenance windows.
*
* @return bool
*/
public function underMaintenance();
/**
* Get the cachet version.
*