Commit 7d429c20fd210aaaf2c7b1580974ee2eaa8c82fe
1 parent
f0dc656e
added folderID for parent folder subscription firing
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1280 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
6 additions
and
3 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php
| ... | ... | @@ -99,7 +99,8 @@ if (checkSession()) { |
| 99 | 99 | // fire subscription alerts for the checked in document |
| 100 | 100 | $count = SubscriptionEngine::fireSubscription($fDocumentID, SubscriptionConstants::subscriptionAlertType("CheckInDocument"), |
| 101 | 101 | SubscriptionConstants::subscriptionType("DocumentSubscription"), |
| 102 | - array( "modifiedDocumentName" => $oDocument->getName() )); | |
| 102 | + array( "folderID" => $oDocument->getFolderID(), | |
| 103 | + "modifiedDocumentName" => $oDocument->getName() )); | |
| 103 | 104 | $default->log->info("checkInDocumentBL.php fired $count subscription alerts for checked out document " . $oDocument->getName()); |
| 104 | 105 | |
| 105 | 106 | //redirect to the document view page | ... | ... |
presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php
| ... | ... | @@ -73,7 +73,8 @@ if (checkSession()) { |
| 73 | 73 | // fire subscription alerts for the checked out document |
| 74 | 74 | $count = SubscriptionEngine::fireSubscription($fDocumentID, SubscriptionConstants::subscriptionAlertType("CheckOutDocument"), |
| 75 | 75 | SubscriptionConstants::subscriptionType("DocumentSubscription"), |
| 76 | - array( "modifiedDocumentName" => $oDocument->getName() )); | |
| 76 | + array( "folderID" => $oDocument->getFolderID(), | |
| 77 | + "modifiedDocumentName" => $oDocument->getName() )); | |
| 77 | 78 | $default->log->info("checkOutDocumentBL.php fired $count subscription alerts for checked out document " . $oDocument->getName()); |
| 78 | 79 | |
| 79 | 80 | // display checkout success message in the document view page | ... | ... |
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php
| ... | ... | @@ -154,7 +154,8 @@ if (checkSession()) { |
| 154 | 154 | // fire subscription alerts for the modified document |
| 155 | 155 | $count = SubscriptionEngine::fireSubscription($fDocumentID, SubscriptionConstants::subscriptionAlertType("ModifyDocument"), |
| 156 | 156 | SubscriptionConstants::subscriptionType("DocumentSubscription"), |
| 157 | - array( "modifiedDocumentName" => $oDocument->getName())); | |
| 157 | + array( "folderID" => $oDocument->getFolderID(), | |
| 158 | + "modifiedDocumentName" => $oDocument->getName())); | |
| 158 | 159 | $default->log->info("viewBL.php fired $count subscription alerts for modified document $fFolderName"); |
| 159 | 160 | } |
| 160 | 161 | ... | ... |