mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
turn cache in SeedDMS_Core_DMS on
This commit is contained in:
parent
53d7ab063d
commit
140b6de1a6
|
@ -200,6 +200,7 @@ $stats['document']['update'] = 0;
|
||||||
$stats['document']['error'] = 0;
|
$stats['document']['error'] = 0;
|
||||||
$stats['time']['total'] = time();
|
$stats['time']['total'] = time();
|
||||||
$numdocs = $fulltextservice->Indexer()->count();
|
$numdocs = $fulltextservice->Indexer()->count();
|
||||||
|
$dms->usecache = true;
|
||||||
$folder = $dms->getFolder($settings->_rootFolderID);
|
$folder = $dms->getFolder($settings->_rootFolderID);
|
||||||
/* if numdocs is 0, then there is no need to check if a document/folder is already
|
/* if numdocs is 0, then there is no need to check if a document/folder is already
|
||||||
* indexed. That speeds up the indexing.
|
* indexed. That speeds up the indexing.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user