call new hook finishReviseDocument

This commit is contained in:
Uwe Steinmann 2017-01-24 14:20:10 +01:00
parent c6d69bdb75
commit 27247438f5

View File

@ -91,6 +91,8 @@ class SeedDMS_Controller_ReviseDocument extends SeedDMS_Controller_Common {
if ($revisionCT == $revisionTotal) { if ($revisionCT == $revisionTotal) {
$newStatus=S_RELEASED; $newStatus=S_RELEASED;
if ($content->finishRevision($user, $newStatus, '', getMLText("automatic_status_update"))) { if ($content->finishRevision($user, $newStatus, '', getMLText("automatic_status_update"))) {
if(!$this->callHook('finishReviseDocument', $content)) {
}
} }
} else { } else {
$newStatus=S_IN_REVISION; $newStatus=S_IN_REVISION;