Commit 57147f294b7695a7661e58397311d4de63e1bf0a

Authored by Michael Joseph
1 parent 59d729ae

added exit after download and removed commented code


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2376 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php
@@ -49,11 +49,7 @@ if (checkSession()) { @@ -49,11 +49,7 @@ if (checkSession()) {
49 $oDocumentTransaction->create(); 49 $oDocumentTransaction->create();
50 PhysicalDocumentManager::downloadPhysicalDocument($fDocumentID); 50 PhysicalDocumentManager::downloadPhysicalDocument($fDocumentID);
51 } 51 }
52 -  
53 - // optionally redirect to some other page  
54 -// if ($fForDownload) {  
55 -// $sOnLoadJs = "redirTimer(0, '" . generateControllerUrl("downloadDocument", "fDocumentID=$fDocumentID") ."');";  
56 -// } 52 + exit;
57 } 53 }
58 } else { 54 } else {
59 require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); 55 require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc");