remove old code which was already removed in 5.1.x

This commit is contained in:
Uwe Steinmann 2020-10-28 14:37:32 +01:00
parent 3014b94111
commit 65a1b64db9

View File

@ -140,13 +140,6 @@ class SeedDMS_Controller_AddDocument extends SeedDMS_Controller_Common {
}
}
if($index) {
$idoc = new $indexconf['IndexedDocument']($dms, $document, isset($settings->_converters['fulltext']) ? $settings->_converters['fulltext'] : null, !($filesize < $settings->_maxSizeForFullText));
if(!$this->callHook('preIndexDocument', $document, $idoc)) {
}
$index->addDocument($idoc);
}
/* Add a default notification for the owner of the document */
if($settings->_enableOwnerNotification) {
$res = $document->addNotify($owner->getID(), true);