fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11632] property: supress groupnotification


From: Sigurd Nes
Subject: [Fmsystem-commits] [11632] property: supress groupnotification
Date: Sun, 26 Jan 2014 17:58:23 +0000

Revision: 11632
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11632
Author:   sigurdne
Date:     2014-01-26 17:58:23 +0000 (Sun, 26 Jan 2014)
Log Message:
-----------
property: supress groupnotification

Modified Paths:
--------------
    trunk/property/inc/class.botts.inc.php
    trunk/property/templates/base/config.tpl

Modified: trunk/property/inc/class.botts.inc.php
===================================================================
--- trunk/property/inc/class.botts.inc.php      2014-01-26 16:46:43 UTC (rev 
11631)
+++ trunk/property/inc/class.botts.inc.php      2014-01-26 17:58:23 UTC (rev 
11632)
@@ -1199,7 +1199,11 @@
 
                        $members = array();
 
-                       if( 
(isset($this->config->config_data['groupnotification']) && 
$this->config->config_data['groupnotification'] && $ticket['group_id'] )
+                       if( 
isset($this->config->config_data['groupnotification']) && 
$this->config->config_data['groupnotification'] == 2)
+                       {
+                               // Never send to groups
+                       }
+                       else if( 
(isset($this->config->config_data['groupnotification']) && 
$this->config->config_data['groupnotification'] == 1 && $ticket['group_id'] )
                                        || ($force_send && $ticket['group_id']))
                        {
                                $log_recipients[] = $group_name;

Modified: trunk/property/templates/base/config.tpl
===================================================================
--- trunk/property/templates/base/config.tpl    2014-01-26 16:46:43 UTC (rev 
11631)
+++ trunk/property/templates/base/config.tpl    2014-01-26 17:58:23 UTC (rev 
11632)
@@ -338,6 +338,7 @@
                                <select name="newsettings[groupnotification]">
                                        <option value="" 
{selected_groupnotification_}>NO</option>
                                        <option value="1" 
{selected_groupnotification_1}>YES</option>
+                                       <option value="2" 
{selected_groupnotification_2}>Never</option>
                                </select>
                        </td>
                </tr>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]