mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
remove echo statement when delete document from fulltext index
This commit is contained in:
parent
05d51c05bd
commit
76701aed03
|
@ -63,7 +63,6 @@ if($settings->_enableFullSearch) {
|
|||
function removeFromIndex($index, $document) {
|
||||
if($hits = $index->find('document_id:'.$document->getId())) {
|
||||
$hit = $hits[0];
|
||||
echo $hit->id;
|
||||
$index->delete($hit->id);
|
||||
$index->commit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user