mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-15 09:39:17 +00:00
do not send notification to owner anymore
was sent when current user != owner
This commit is contained in:
parent
887612ddf9
commit
e8b09b3f03
|
@ -245,9 +245,6 @@ else
|
||||||
foreach ($notifyList["groups"] as $grp) {
|
foreach ($notifyList["groups"] as $grp) {
|
||||||
$notifier->toGroup($user, $grp, $subject, $message, $params);
|
$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) {
|
if($workflow && $settings->_enableNotificationWorkflow) {
|
||||||
$subject = "request_workflow_action_email_subject";
|
$subject = "request_workflow_action_email_subject";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user