Commit 3b6e8404b9e2fa5be0d035df86b8eb6709222a38

Authored by michael
1 parent 039f02fe

updated to use document status constants


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2135 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/manageArchivedDocumentsBL.php
... ... @@ -68,7 +68,7 @@ if (checkSession()) {
68 68 if ($aDocuments[$i]) {
69 69  
70 70 // set the status to live
71   - $aDocuments[$i]->setStatusID(lookupStatusID("Live"));
  71 + $aDocuments[$i]->setStatusID(LIVE);
72 72 if ($aDocuments[$i]->update()) {
73 73 // success
74 74 $default->log->info("manageArchivedDocumentsBL.php set status for document id=" . $fDocumentIDs[$i]);
... ...