diff --git a/op/op.ReviewDocument.php b/op/op.ReviewDocument.php index 140f68e06..b25d46316 100644 --- a/op/op.ReviewDocument.php +++ b/op/op.ReviewDocument.php @@ -117,24 +117,6 @@ if(!$controller()) { } } -/* Send notification about status change only if status has actually changed */ -$newdocstatus = $content->getStatus(); -if($olddocstatus['status'] != $newdocstatus['status']) { - // Send notification to subscribers. - if($notifier) { - $notifier->sendChangedDocumentStatusMail($content, $user, $olddocstatus["status"]); - } -} - -// Notify approvers, if necessary. -if ($newdocstatus['status'] == S_DRAFT_APP) { - $requestUser = $document->getOwner(); - - if($notifier) { - $notifier->sendApprovalRequestMail($content, $user); - } -} - header("Location:../out/out.ViewDocument.php?documentid=".$documentid."¤ttab=revapp"); ?>