Change filename only for ES

This commit is contained in:
DariusIII
2020-01-09 01:19:10 +01:00
parent 630ae93236
commit c9cbbc50d5
+2 -2
View File
@@ -2500,8 +2500,8 @@ class NameFixer
$this->_cleanMatchFiles();
if (! empty($this->_fileName)) {
$this->_fileName = $this->escapeString($this->_fileName);
if (config('nntmux.elasticsearch_enabled') === true) {
$this->_fileName = $this->escapeString($this->_fileName);
$search = [
'index' => 'predb',
'body' => [
@@ -2559,8 +2559,8 @@ class NameFixer
$this->_cleanMatchFiles();
$this->cleanFileNames();
if (! empty($this->_fileName)) {
$this->_fileName = str_replace('/', '\/', $this->_fileName);
if (config('nntmux.elasticsearch_enabled') === true) {
$this->_fileName = $this->escapeString($this->_fileName);
$search = [
'index' => 'predb',
'body' => [