From 7d429c20fd210aaaf2c7b1580974ee2eaa8c82fe Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 3 Mar 2003 12:03:37 +0000 Subject: [PATCH] added folderID for parent folder subscription firing --- presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php | 3 ++- presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php | 3 ++- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php index fc0bfed..a4e3e2a 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php @@ -99,7 +99,8 @@ if (checkSession()) { // fire subscription alerts for the checked in document $count = SubscriptionEngine::fireSubscription($fDocumentID, SubscriptionConstants::subscriptionAlertType("CheckInDocument"), SubscriptionConstants::subscriptionType("DocumentSubscription"), - array( "modifiedDocumentName" => $oDocument->getName() )); + array( "folderID" => $oDocument->getFolderID(), + "modifiedDocumentName" => $oDocument->getName() )); $default->log->info("checkInDocumentBL.php fired $count subscription alerts for checked out document " . $oDocument->getName()); //redirect to the document view page diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php index d4abea9..8ad17e6 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php @@ -73,7 +73,8 @@ if (checkSession()) { // fire subscription alerts for the checked out document $count = SubscriptionEngine::fireSubscription($fDocumentID, SubscriptionConstants::subscriptionAlertType("CheckOutDocument"), SubscriptionConstants::subscriptionType("DocumentSubscription"), - array( "modifiedDocumentName" => $oDocument->getName() )); + array( "folderID" => $oDocument->getFolderID(), + "modifiedDocumentName" => $oDocument->getName() )); $default->log->info("checkOutDocumentBL.php fired $count subscription alerts for checked out document " . $oDocument->getName()); // display checkout success message in the document view page diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php index 1937614..df61aa5 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php @@ -154,7 +154,8 @@ if (checkSession()) { // fire subscription alerts for the modified document $count = SubscriptionEngine::fireSubscription($fDocumentID, SubscriptionConstants::subscriptionAlertType("ModifyDocument"), SubscriptionConstants::subscriptionType("DocumentSubscription"), - array( "modifiedDocumentName" => $oDocument->getName())); + array( "folderID" => $oDocument->getFolderID(), + "modifiedDocumentName" => $oDocument->getName())); $default->log->info("viewBL.php fired $count subscription alerts for modified document $fFolderName"); } -- libgit2 0.21.4