do not send notification to owner anymore

was sent when current user != owner
This commit is contained in:
Uwe Steinmann 2017-08-01 08:04:46 +02:00
parent 887612ddf9
commit e8b09b3f03

View File

@ -245,9 +245,6 @@ else
foreach ($notifyList["groups"] as $grp) {
$notifier->toGroup($user, $grp, $subject, $message, $params);
}
// if user is not owner send notification to owner
if ($user->getID() != $document->getOwner()->getID())
$notifier->toIndividual($user, $document->getOwner(), $subject, $message, $params);
if($workflow && $settings->_enableNotificationWorkflow) {
$subject = "request_workflow_action_email_subject";