Commit 6e6a02465e1df3ce7eae710123ff825f6b07edec
1 parent
34434258
KTS-673
"The search algorithm needs some work" Updated. Added checkedout field and removed mysql fulltext clearout code. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7178 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
7 additions
and
0 deletions
lib/documentmanagement/Document.inc
| ... | ... | @@ -79,6 +79,9 @@ class Document { |
| 79 | 79 | function getCheckedOutUserID() { return $this->_oDocumentCore->getCheckedOutUserId(); } |
| 80 | 80 | function setCheckedOutUserID($iNewValue) { $this->_oDocumentCore->setCheckedOutUserId($iNewValue); } |
| 81 | 81 | |
| 82 | + function getCheckedOutDate() { return $this->_oDocumentCore->getCheckedOutDate(); } | |
| 83 | + function setCheckedOutDate($dNewValue) { $this->_oDocumentCore->setCheckedOutDate($dNewValue); } | |
| 84 | + | |
| 82 | 85 | function getPermissionObjectID() { return $this->_oDocumentCore->getPermissionObjectId(); } |
| 83 | 86 | function setPermissionObjectID($iNewValue) { $this->_oDocumentCore->setPermissionObjectId($iNewValue); } |
| 84 | 87 | |
| ... | ... | @@ -381,6 +384,10 @@ class Document { |
| 381 | 384 | * Deletes content from document data tables |
| 382 | 385 | */ |
| 383 | 386 | function cleanupDocumentData($iDocumentID) { |
| 387 | + // NEW SEARCH | |
| 388 | + | |
| 389 | + return; | |
| 390 | + | |
| 384 | 391 | // FIXME this appears to be deprecated, or at least should be |
| 385 | 392 | $sTable = KTUtil::getTableName('document_text'); |
| 386 | 393 | $sQuery = "DELETE FROM $sTable WHERE document_id = ?"; | ... | ... |