This commit is contained in:
yuri
2018-06-21 14:21:38 +03:00
parent 87518f33a9
commit 0b8d43f734
2 changed files with 0 additions and 8 deletions

View File

@@ -187,14 +187,10 @@ class DataManager
$fullTextSearchMinLength = null;
if ($row = $sth->fetch(\PDO::FETCH_ASSOC)) {
if (isset($row['Value'])) {
$fullTextSearchIsNotAvailable = false;
$fullTextSearchMinLength = intval($row['Value']);
}
} else {
$fullTextSearchIsNotAvailable = true;
}
$config->set('fullTextSearchIsNotAvailable', $fullTextSearchIsNotAvailable);
$config->set('fullTextSearchMinLength', $fullTextSearchMinLength);
$config->save();

View File

@@ -1510,10 +1510,6 @@ class Base
return $this->fullTextSearchDataCacheHash[$textFilter];
}
if ($this->getConfig()->get('fullTextSearchIsNotAvailable')) {
return null;
}
if ($this->getConfig()->get('fullTextSearchDisabled')) {
return null;
}