mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-16 22:11:31 +00:00
remove some debug echos
This commit is contained in:
parent
7e306054a7
commit
050a2e60df
|
@ -4864,7 +4864,6 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
||||||
*/
|
*/
|
||||||
if(count($revisionStatus[$field]) == 0) {
|
if(count($revisionStatus[$field]) == 0) {
|
||||||
$queryStr = "DELETE from `tblDocumentRevisors` WHERE `documentID` = ". $this->_document->getID() ." AND `version` = ".$this->_version." AND `type` = ". $type ." AND `required` = ".$object->getID();
|
$queryStr = "DELETE from `tblDocumentRevisors` WHERE `documentID` = ". $this->_document->getID() ." AND `version` = ".$this->_version." AND `type` = ". $type ." AND `required` = ".$object->getID();
|
||||||
echo $queryStr;
|
|
||||||
if (!$db->getResult($queryStr)) {
|
if (!$db->getResult($queryStr)) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
@ -5348,7 +5347,6 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
|
||||||
$this->_workflow->setDMS($this->_document->_dms);
|
$this->_workflow->setDMS($this->_document->_dms);
|
||||||
|
|
||||||
if($transition) {
|
if($transition) {
|
||||||
echo "Trigger transition";
|
|
||||||
if(false === $this->triggerWorkflowTransition($user, $transition, $comment)) {
|
if(false === $this->triggerWorkflowTransition($user, $transition, $comment)) {
|
||||||
$db->rollbackTransaction();
|
$db->rollbackTransaction();
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user