Commit 468e200ece4066c1132494ecfed1c89c6b79aeeb

Authored by michael
1 parent 322778c7

added todo


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1385 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php
@@ -126,6 +126,7 @@ if (checkSession()) { @@ -126,6 +126,7 @@ if (checkSession()) {
126 // reset minor version number 126 // reset minor version number
127 $oDocument->setMinorVersionNumber(0); 127 $oDocument->setMinorVersionNumber(0);
128 $oDocument->update(); 128 $oDocument->update();
  129 + // TODO: create a transaction?
129 130
130 $oUser = User::get($oDocument->getCreatorID()); 131 $oUser = User::get($oDocument->getCreatorID());
131 $sBody = $oUser->getUserName() . ", the collaboration process for the document, '<a href=\"https://" . $_SERVER["SERVER_NAME"] . "$default->rootUrl/control.php?action=viewDocument&fDocumentID=" . $oDocument->getID() . "\">" . $oDocument->getName() . "</a>', has been completed. "; 132 $sBody = $oUser->getUserName() . ", the collaboration process for the document, '<a href=\"https://" . $_SERVER["SERVER_NAME"] . "$default->rootUrl/control.php?action=viewDocument&fDocumentID=" . $oDocument->getID() . "\">" . $oDocument->getName() . "</a>', has been completed. ";