Commit 8280149825d9363003e4536502a5428190f9854c
1 parent
54b1842c
moved commented code to expungeDocumentBL.php
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2305 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
0 additions
and
10 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php
| @@ -18,7 +18,6 @@ require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentTransactio | @@ -18,7 +18,6 @@ require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentTransactio | ||
| 18 | require_once("$default->fileSystemRoot/lib/documentmanagement/PhysicalDocumentManager.inc"); | 18 | require_once("$default->fileSystemRoot/lib/documentmanagement/PhysicalDocumentManager.inc"); |
| 19 | require_once("$default->fileSystemRoot/lib/subscriptions/SubscriptionEngine.inc"); | 19 | require_once("$default->fileSystemRoot/lib/subscriptions/SubscriptionEngine.inc"); |
| 20 | require_once("$default->fileSystemRoot/lib/subscriptions/SubscriptionManager.inc"); | 20 | require_once("$default->fileSystemRoot/lib/subscriptions/SubscriptionManager.inc"); |
| 21 | -require_once("$default->fileSystemRoot/lib/web/WebDocument.inc"); | ||
| 22 | 21 | ||
| 23 | require_once("$default->fileSystemRoot/presentation/Html.inc"); | 22 | require_once("$default->fileSystemRoot/presentation/Html.inc"); |
| 24 | 23 | ||
| @@ -75,15 +74,6 @@ if (checkSession()) { | @@ -75,15 +74,6 @@ if (checkSession()) { | ||
| 75 | } else { | 74 | } else { |
| 76 | $default->log->error("deleteDocumentBL.php couldn't remove document subscriptions"); | 75 | $default->log->error("deleteDocumentBL.php couldn't remove document subscriptions"); |
| 77 | } | 76 | } |
| 78 | - | ||
| 79 | - // TODO: move to expunge | ||
| 80 | - //remove any document word links that this document may have | ||
| 81 | - //Document::deleteFromDocumentText($fDocumentID); | ||
| 82 | - | ||
| 83 | - // TODO: move to expunge | ||
| 84 | - // delete the corresponding web document entry | ||
| 85 | -// $oWebDocument = WebDocument::get(lookupID($default->owl_web_documents_table, "document_id", $fDocumentID)); | ||
| 86 | -// $oWebDocument->delete(); | ||
| 87 | 77 | ||
| 88 | // redirect to the browse folder page | 78 | // redirect to the browse folder page |
| 89 | redirect("$default->rootUrl/control.php?action=browse&fFolderID=" . $oDocument->getFolderID()); | 79 | redirect("$default->rootUrl/control.php?action=browse&fFolderID=" . $oDocument->getFolderID()); |