mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
check for due revision workflow
This commit is contained in:
parent
4101a83639
commit
f083b6fd7a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user