Commit f8e8d0f5e36dac51dc204a647c4b4098376071dd
1 parent
bf9fecea
update to remove references in document_text when document is
deleted git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1823 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
4 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php
| ... | ... | @@ -72,11 +72,9 @@ if (checkSession()) { |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | //remove any document word links that this document may have |
| 75 | - Document::removeDocumentWordLinks($fDocumentID); | |
| 76 | - | |
| 77 | - //delete all fields associated with the document | |
| 78 | - Document::deleteDocumentFieldsLinks($fDocumentID); | |
| 75 | + Document::deleteFromDocumentText($fDocumentID); | |
| 79 | 76 | |
| 77 | + | |
| 80 | 78 | // delete the corresponding web document entry |
| 81 | 79 | $oWebDocument = WebDocument::get(lookupID($default->owl_web_documents_table, "document_id", $fDocumentID)); |
| 82 | 80 | $oWebDocument->delete(); | ... | ... |