mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 17:44:56 +00:00
addRevisor and addRecipient return id of log entry
This commit is contained in:
parent
bef41ad838
commit
7c1c81f7fc
|
@ -5454,7 +5454,9 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
// Add recipient to event notification table.
|
||||
//$this->_document->addNotify($userID, true);
|
||||
|
||||
return 0;
|
||||
$receiptLogID = $db->getInsertID('tblDocumentReceiptLog', 'receiptLogID');
|
||||
$db->dropTemporaryTable('ttreceiptid');
|
||||
return $receiptLogID;
|
||||
} /* }}} */
|
||||
|
||||
function addGrpRecipient($group, $requestUser) { /* {{{ */
|
||||
|
@ -5513,7 +5515,9 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
$receiptLogID = $db->getInsertID('tblDocumentReceiptLog', 'receiptLogID');
|
||||
$db->dropTemporaryTable('ttreceiptid');
|
||||
return $receiptLogID;
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
|
@ -5611,7 +5615,9 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
|||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
$revisionLogID = $db->getInsertID('tblDocumentRevisionLog', 'revisionLogID');
|
||||
$db->dropTemporaryTable('ttrevisionid');
|
||||
return $revisionLogID;
|
||||
} /* }}} */
|
||||
|
||||
function addIndRevisor($user, $requestUser, $donotstart=true) { /* {{{ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user