Commit 57147f294b7695a7661e58397311d4de63e1bf0a
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
Showing
1 changed file
with
1 additions
and
5 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php
| ... | ... | @@ -49,11 +49,7 @@ if (checkSession()) { |
| 49 | 49 | $oDocumentTransaction->create(); |
| 50 | 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 | 54 | } else { |
| 59 | 55 | require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); | ... | ... |