mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-11 19:41:34 +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.
|
// Add recipient to event notification table.
|
||||||
//$this->_document->addNotify($userID, true);
|
//$this->_document->addNotify($userID, true);
|
||||||
|
|
||||||
return 0;
|
$receiptLogID = $db->getInsertID('tblDocumentReceiptLog', 'receiptLogID');
|
||||||
|
$db->dropTemporaryTable('ttreceiptid');
|
||||||
|
return $receiptLogID;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function addGrpRecipient($group, $requestUser) { /* {{{ */
|
function addGrpRecipient($group, $requestUser) { /* {{{ */
|
||||||
|
@ -5513,7 +5515,9 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
||||||
return -1;
|
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 -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
$revisionLogID = $db->getInsertID('tblDocumentRevisionLog', 'revisionLogID');
|
||||||
|
$db->dropTemporaryTable('ttrevisionid');
|
||||||
|
return $revisionLogID;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function addIndRevisor($user, $requestUser, $donotstart=true) { /* {{{ */
|
function addIndRevisor($user, $requestUser, $donotstart=true) { /* {{{ */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user