mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
keep documents from being index again unless they have really changed
This commit is contained in:
parent
38d8aebb49
commit
4bd68ac535
|
@ -112,7 +112,7 @@ function tree($dms, $index, $indexconf, $folder, $indent='') { /* {{{ */
|
|||
$created = 0;
|
||||
}
|
||||
$content = $document->getLatestContent();
|
||||
if($created > $content->getDate()) {
|
||||
if($created >= $content->getDate()) {
|
||||
echo $themes->italic(" (Document unchanged)").PHP_EOL;
|
||||
} else {
|
||||
$index->delete($hit->id);
|
||||
|
|
Loading…
Reference in New Issue
Block a user