mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +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) {
|
function removeFromIndex($index, $document) {
|
||||||
if($hits = $index->find('document_id:'.$document->getId())) {
|
if($hits = $index->find('document_id:'.$document->getId())) {
|
||||||
$hit = $hits[0];
|
$hit = $hits[0];
|
||||||
echo $hit->id;
|
|
||||||
$index->delete($hit->id);
|
$index->delete($hit->id);
|
||||||
$index->commit();
|
$index->commit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user