mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
call new hook finishReviseDocument
This commit is contained in:
parent
c6d69bdb75
commit
27247438f5
|
@ -91,6 +91,8 @@ class SeedDMS_Controller_ReviseDocument extends SeedDMS_Controller_Common {
|
|||
if ($revisionCT == $revisionTotal) {
|
||||
$newStatus=S_RELEASED;
|
||||
if ($content->finishRevision($user, $newStatus, '', getMLText("automatic_status_update"))) {
|
||||
if(!$this->callHook('finishReviseDocument', $content)) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$newStatus=S_IN_REVISION;
|
||||
|
|
Loading…
Reference in New Issue
Block a user