remove old code

This commit is contained in:
Uwe Steinmann 2021-08-30 16:03:42 +02:00
parent 96ca072528
commit 8018dc1a24
2 changed files with 0 additions and 19 deletions

View File

@ -76,17 +76,6 @@ if($version->returnFromSubWorkflow($user, $transition, $_POST["comment"])) {
$nl = $document->getNotifyList();
$folder = $document->getFolder();
/*
$subject = "###SITENAME###: ".$document->getName()." - ".getMLText("return_from_subworkflow_email");
$message = getMLText("return_from_subwork_email")."\r\n";
$message .=
getMLText("document").": ".$document->getName()."\r\n".
getMLText("workflow").": ".$workflow->getName()."\r\n".
getMLText("workflow").": ".$parentworkflow->getName()."\r\n".
getMLText("current_state").": ".$version->getWorkflowState()->getName()."\r\n".
getMLText("user").": ".$user->getFullName()." <". $user->getEmail() ."> ";
*/
$subject = "return_from_subworkflow_email_subject";
$message = "return_from_subworkflow_email_body";
$params = array();

View File

@ -65,14 +65,6 @@ if($version->rewindWorkflow()) {
$nl = $document->getNotifyList();
$folder = $document->getFolder();
/*
$subject = "###SITENAME###: ".$document->getName()." - ".getMLText("rewind_workflow_email");
$message = getMLText("rewind_workflow_email")."\r\n";
$message .=
getMLText("document").": ".$document->getName()."\r\n".
getMLText("workflow").": ".$workflow->getName()."\r\n".
getMLText("user").": ".$user->getFullName()." <". $user->getEmail() ."> ";
*/
$subject = "rewind_workflow_email_subject";
$message = "rewind_workflow_email_body";
$params = array();