Commit 25838af44684bdfb71245be8df260b19e81b6080
1 parent
92e35271
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,6 +79,9 @@ class Document { | ||
| 79 | function getCheckedOutUserID() { return $this->_oDocumentCore->getCheckedOutUserId(); } | 79 | function getCheckedOutUserID() { return $this->_oDocumentCore->getCheckedOutUserId(); } |
| 80 | function setCheckedOutUserID($iNewValue) { $this->_oDocumentCore->setCheckedOutUserId($iNewValue); } | 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 | function getPermissionObjectID() { return $this->_oDocumentCore->getPermissionObjectId(); } | 85 | function getPermissionObjectID() { return $this->_oDocumentCore->getPermissionObjectId(); } |
| 83 | function setPermissionObjectID($iNewValue) { $this->_oDocumentCore->setPermissionObjectId($iNewValue); } | 86 | function setPermissionObjectID($iNewValue) { $this->_oDocumentCore->setPermissionObjectId($iNewValue); } |
| 84 | 87 | ||
| @@ -381,6 +384,10 @@ class Document { | @@ -381,6 +384,10 @@ class Document { | ||
| 381 | * Deletes content from document data tables | 384 | * Deletes content from document data tables |
| 382 | */ | 385 | */ |
| 383 | function cleanupDocumentData($iDocumentID) { | 386 | function cleanupDocumentData($iDocumentID) { |
| 387 | + // NEW SEARCH | ||
| 388 | + | ||
| 389 | + return; | ||
| 390 | + | ||
| 384 | // FIXME this appears to be deprecated, or at least should be | 391 | // FIXME this appears to be deprecated, or at least should be |
| 385 | $sTable = KTUtil::getTableName('document_text'); | 392 | $sTable = KTUtil::getTableName('document_text'); |
| 386 | $sQuery = "DELETE FROM $sTable WHERE document_id = ?"; | 393 | $sQuery = "DELETE FROM $sTable WHERE document_id = ?"; |