From e35503d49345b1ac5eabc34dc849c2dd2f06edfe Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 20 Dec 2018 11:01:27 +0800 Subject: [PATCH] * adjust message setting for xuanxuan --- xuanxuan/module/message/ext/config/xuanxuan.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xuanxuan/module/message/ext/config/xuanxuan.php b/xuanxuan/module/message/ext/config/xuanxuan.php index 250bbf0518..2c118573b6 100644 --- a/xuanxuan/module/message/ext/config/xuanxuan.php +++ b/xuanxuan/module/message/ext/config/xuanxuan.php @@ -1,6 +1,6 @@ message->available['xuanxuan']['story'] = array('opened', 'edited', 'commented', 'frombug', 'changed', 'reviewed', 'closed', 'activated'); -$config->message->available['xuanxuan']['task'] = array('opened', 'edited', 'commented', 'assigned', 'confirmed', 'started', 'finished', 'paused', 'canceled', 'restarted', 'closed', 'activated'); -$config->message->available['xuanxuan']['bug'] = array('opened', 'edited', 'commented', 'assigned', 'confirmed', 'bugconfirmed', 'resolved', 'closed', 'activated'); -$config->message->available['xuanxuan']['todo'] = array('opened', 'edited'); +$config->message->available['xuanxuan']['story'] = $config->message->objectTypes['story']; +$config->message->available['xuanxuan']['task'] = $config->message->objectTypes['task']; +$config->message->available['xuanxuan']['bug'] = $config->message->objectTypes['bug']; +$config->message->available['xuanxuan']['todo'] = $config->message->objectTypes['todo']; $config->message->setting['xuanxuan']['setting'] = $config->message->available['xuanxuan'];