From 57147f294b7695a7661e58397311d4de63e1bf0a Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Tue, 15 Jul 2003 10:00:32 +0000 Subject: [PATCH] added exit after download and removed commented code --- presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php index 5004077..df15947 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php @@ -49,11 +49,7 @@ if (checkSession()) { $oDocumentTransaction->create(); PhysicalDocumentManager::downloadPhysicalDocument($fDocumentID); } - - // optionally redirect to some other page -// if ($fForDownload) { -// $sOnLoadJs = "redirTimer(0, '" . generateControllerUrl("downloadDocument", "fDocumentID=$fDocumentID") ."');"; -// } + exit; } } else { require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); -- libgit2 0.21.4