From a3d1fb8a4d037c511ede429c599d967aabf22bf4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 10 Oct 2017 06:23:48 +0000
Subject: [PATCH] fixup! erp5_ugprader: disable notifications on the alarms

Each step was still sending emails, not only the controller. This is not
useful.
---
 .../portal_alarms/upgrader_check_post_upgrade.xml               | 2 +-
 .../portal_alarms/upgrader_check_pre_upgrade.xml                | 2 +-
 .../PathTemplateItem/portal_alarms/upgrader_check_upgrader.xml  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_post_upgrade.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_post_upgrade.xml
index 6a0bb5f50d..4adb1fb184 100644
--- a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_post_upgrade.xml
+++ b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_post_upgrade.xml
@@ -14,7 +14,7 @@
             <key> <string>alarm_notification_mode</string> </key>
             <value>
               <tuple>
-                <string>always</string>
+                <string>never</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_pre_upgrade.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_pre_upgrade.xml
index 5d1932afb0..f66e73c3eb 100644
--- a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_pre_upgrade.xml
+++ b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_pre_upgrade.xml
@@ -14,7 +14,7 @@
             <key> <string>alarm_notification_mode</string> </key>
             <value>
               <tuple>
-                <string>always</string>
+                <string>never</string>
               </tuple>
             </value>
         </item>
diff --git a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_upgrader.xml b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_upgrader.xml
index 438b031ace..2d7be9ae6a 100644
--- a/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_upgrader.xml
+++ b/bt5/erp5_upgrader/PathTemplateItem/portal_alarms/upgrader_check_upgrader.xml
@@ -14,7 +14,7 @@
             <key> <string>alarm_notification_mode</string> </key>
             <value>
               <tuple>
-                <string>always</string>
+                <string>never</string>
               </tuple>
             </value>
         </item>
-- 
2.30.9