diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php index 32953ab..8c8c82c 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php @@ -68,6 +68,9 @@ if (checkSession()) { } else { $default->log->error("deleteDocumentBL.php couldn't remove document subscriptions"); } + + //remove any document word links that this document may have + Document::removeDocumentWordLinks($fDocumentID); // redirect to the browse folder page redirect("$default->rootUrl/control.php?action=browse&fFolderID=" . $oDocument->getFolderID());