remove some debug echos

This commit is contained in:
Uwe Steinmann 2017-03-23 07:07:57 +01:00
parent 7e306054a7
commit 050a2e60df

View File

@ -4864,7 +4864,6 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
*/
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();
echo $queryStr;
if (!$db->getResult($queryStr)) {
return -1;
}
@ -5348,7 +5347,6 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
$this->_workflow->setDMS($this->_document->_dms);
if($transition) {
echo "Trigger transition";
if(false === $this->triggerWorkflowTransition($user, $transition, $comment)) {
$db->rollbackTransaction();
return false;