* Finish task #110042.
This commit is contained in:
@@ -193,6 +193,7 @@ class messageModel extends model
|
||||
if(empty($toList) and $objectType == 'testtask') $toList = $object->owner;
|
||||
if(empty($toList) and $objectType == 'meeting') $toList = $object->host . $object->participant;
|
||||
if(empty($toList) and $objectType == 'mr') $toList = $object->createdBy . ',' . $object->assignee;
|
||||
if(empty($toList) and $objectType == 'demandpool') $toList = trim($object->owner, ',') . ',' . trim($object->reviewer, ',');
|
||||
if(empty($toList) and $objectType == 'release')
|
||||
{
|
||||
/* Get notifiy persons. */
|
||||
|
||||
@@ -105,6 +105,11 @@ class xuanxuanMessage extends messageModel
|
||||
$target .= ',' . $user;
|
||||
}
|
||||
}
|
||||
elseif($objectType == 'demandpool')
|
||||
{
|
||||
if(!empty($object->owner)) $target .= trim($object->owner, ',');
|
||||
if(!empty($object->reviewer)) $target .= ',' . trim($object->reviewer, ',');
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!empty($object->assignedTo)) $target .= $object->assignedTo == 'closed' ? $object->openedBy : $object->assignedTo;
|
||||
|
||||
Reference in New Issue
Block a user