From 6e6a02465e1df3ce7eae710123ff825f6b07edec Mon Sep 17 00:00:00 2001 From: conradverm Date: Thu, 20 Sep 2007 15:04:31 +0000 Subject: [PATCH] KTS-673 "The search algorithm needs some work" Updated. Added checkedout field and removed mysql fulltext clearout code. --- lib/documentmanagement/Document.inc | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/lib/documentmanagement/Document.inc b/lib/documentmanagement/Document.inc index ff07fd3..b073eb9 100644 --- a/lib/documentmanagement/Document.inc +++ b/lib/documentmanagement/Document.inc @@ -79,6 +79,9 @@ class Document { function getCheckedOutUserID() { return $this->_oDocumentCore->getCheckedOutUserId(); } function setCheckedOutUserID($iNewValue) { $this->_oDocumentCore->setCheckedOutUserId($iNewValue); } + function getCheckedOutDate() { return $this->_oDocumentCore->getCheckedOutDate(); } + function setCheckedOutDate($dNewValue) { $this->_oDocumentCore->setCheckedOutDate($dNewValue); } + function getPermissionObjectID() { return $this->_oDocumentCore->getPermissionObjectId(); } function setPermissionObjectID($iNewValue) { $this->_oDocumentCore->setPermissionObjectId($iNewValue); } @@ -381,6 +384,10 @@ class Document { * Deletes content from document data tables */ function cleanupDocumentData($iDocumentID) { + // NEW SEARCH + + return; + // FIXME this appears to be deprecated, or at least should be $sTable = KTUtil::getTableName('document_text'); $sQuery = "DELETE FROM $sTable WHERE document_id = ?"; -- libgit2 0.21.4