From 972605c453a80518e82dbce9da48b99f506336c5 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 3 May 2017 12:44:44 +0200 Subject: bin/alert lives in server/, suppress service --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 357fcf5..5584075 100644 --- a/it.class +++ b/it.class @@ -230,7 +230,7 @@ static function error($p = array()) if ($sendmail) # we're mailing: send maximum info { - $p['title'] = "Alert: " . it::replace(['\.[^:]*' => "", 'alert: ' => "", "^: " => ""], $GLOBALS['ULTRASITE'] . ": ") . $p['title'] . " (via " . getenv('HOSTNAME') . ")"; + $p['title'] = "Alert: " . it::replace(['\.[^:]*' => "", '(alert|server): ' => "", "^: " => ""], $GLOBALS['ULTRASITE'] . ": ") . $p['title'] . " (via " . getenv('HOSTNAME') . ")"; if (!$p['omitdebuginfo']) { -- cgit v1.2.3