fix some comments

This commit is contained in:
Uwe Steinmann 2017-07-27 21:17:58 +02:00
parent ab141b84df
commit 268d844b43

View File

@ -3799,7 +3799,7 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
* Rewrites the complete revision log
*
* Attention: this function is highly dangerous.
* It removes an existing receipt log and rewrites it.
* It removes an existing revision log and rewrites it.
* This method was added for importing an xml dump.
*
* @param array $revisionlog new status log with the newest log entry first.
@ -4414,10 +4414,10 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
*
* This function adds a user as a revisor but doesn't start the
* revision workflow by default. This behaviour is different from all
* other workflows (approval, review, receipt), because it doesn't add
* the initial entry in the revision log, which starts the workflow.
* It just adds the revisors to the content. The workflow is started
* at a later point in time by adding the first entry in the revision log.
* other workflows (approval, review, receipt), because it adds
* an initial entry in the revision log, which marks the revision as
* 'sleeping'. The workflow is started at a later point in time by adding
* the second entry in the revision log which puts it into 'waiting'.
*
* @param object $user user to be added as a revisor
* @param object $requestUser user requesting the addition