mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-10-04 15:12:30 +00:00
add more documentation is addRevisor()
This commit is contained in:
parent
77c2841d40
commit
8eec73b4be
|
@ -5050,7 +5050,14 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
}
|
||||
|
||||
/* If a user is added when the revision has already been startet, then
|
||||
* put it in S_IN_REVISION otherwise in S_LOG_WAITING.
|
||||
* put it into S_LOG_WAITING otherwise into S_LOG_SLEEPING. Attention, if a
|
||||
* document content is in any other status but S_IN_REVISION, then it will
|
||||
* end up in S_LOG_SLEEPING. As this method is also called by removeFromProcesses()
|
||||
* when another user takes over the processes, it may happen that revisions
|
||||
* of document contents in status e.g. S_OBSOLETE, S_EXPIRED will change its
|
||||
* status from S_LOG_WAITING to S_LOG_SLEEPING.
|
||||
* This could only be fixed if this method could set an initial revision status
|
||||
* by possibly passing it as another parameter to the method.
|
||||
*/
|
||||
$st=$this->getStatus();
|
||||
$queryStr = "INSERT INTO `tblDocumentRevisionLog` (`revisionID`, `status`, `comment`, `date`, `userID`) ".
|
||||
|
|
Loading…
Reference in New Issue
Block a user