check for due revision workflow

This commit is contained in:
Uwe Steinmann 2015-05-12 19:11:38 +02:00
parent 4101a83639
commit f083b6fd7a

View File

@ -65,6 +65,13 @@ if ($document->verifyLastestContentExpriry()){
header("Location:../out/out.ViewDocument.php?documentid=".$document->getID());
}
/* Recalculate the status of a document and reload the page if the status
* has changed. A status change may occur if a revision workflow is due
*/
if ($document->checkForDueRevisionWorkflow($user)){
header("Location:../out/out.ViewDocument.php?documentid=".$document->getID());
}
if($view) {
$view->setParam('dms', $dms);
$view->setParam('user', $user);