@@ -27,7 +27,6 @@ |
||
27 | 27 | use ApacheSolrForTypo3\Solr\NoSolrConnectionFoundException; |
28 | 28 | use ApacheSolrForTypo3\Solr\Site; |
29 | 29 | use ApacheSolrForTypo3\Solr\SolrService; |
30 | -use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration; |
|
31 | 30 | use ApacheSolrForTypo3\Solr\System\Page\Rootline; |
32 | 31 | use TYPO3\CMS\Backend\Routing\UriBuilder; |
33 | 32 | use TYPO3\CMS\Backend\Toolbar\ClearCacheActionsHookInterface; |
@@ -27,7 +27,6 @@ |
||
27 | 27 | |
28 | 28 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
29 | 29 | use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; |
30 | -use TYPO3\CMS\Frontend\ContentObject\TextContentObject; |
|
31 | 30 | |
32 | 31 | /** |
33 | 32 | * StdWrap Service that can be used to apply the ContentObjectRenderer stdWrap functionality on data. |
@@ -427,7 +427,7 @@ discard block |
||
427 | 427 | { |
428 | 428 | $monitoredTables = []; |
429 | 429 | |
430 | - $indexingConfigurations = $this->getEnabledIndexQueueConfigurationNames(); |
|
430 | + $indexingConfigurations = $this->getEnabledIndexQueueConfigurationNames(); |
|
431 | 431 | foreach ($indexingConfigurations as $indexingConfigurationName) { |
432 | 432 | $monitoredTable = $this->getIndexQueueTableNameOrFallbackToConfigurationName($indexingConfigurationName); |
433 | 433 | $monitoredTables[] = $monitoredTable; |
@@ -553,13 +553,13 @@ discard block |
||
553 | 553 | public function getInitialPagesAdditionalWhereClause($defaultIfEmpty = ' AND 1=1') |
554 | 554 | { |
555 | 555 | $path = 'plugin.tx_solr.index.queue.pages' . '.initialPagesAdditionalWhereClause'; |
556 | - $initialPagesAdditionalWhereClause = $this->getValueByPathOrDefaultValue($path, ''); |
|
556 | + $initialPagesAdditionalWhereClause = $this->getValueByPathOrDefaultValue($path, ''); |
|
557 | 557 | |
558 | 558 | if (trim($initialPagesAdditionalWhereClause) === '') { |
559 | 559 | return $defaultIfEmpty; |
560 | 560 | } |
561 | 561 | |
562 | - return ' AND ' . $initialPagesAdditionalWhereClause; |
|
562 | + return ' AND ' . $initialPagesAdditionalWhereClause; |
|
563 | 563 | } |
564 | 564 | |
565 | 565 | /** |
@@ -940,7 +940,7 @@ discard block |
||
940 | 940 | public function getSolrScheme($defaultIfEmpty = 'http') |
941 | 941 | { |
942 | 942 | $valuePath = 'plugin.tx_solr.solr.scheme'; |
943 | - $value = (string) $this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
943 | + $value = (string)$this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
944 | 944 | return $this->renderContentElementOfConfigured($valuePath, $value); |
945 | 945 | } |
946 | 946 | |
@@ -957,7 +957,7 @@ discard block |
||
957 | 957 | public function getSolrHost($defaultIfEmpty = 'localhost') |
958 | 958 | { |
959 | 959 | $valuePath = 'plugin.tx_solr.solr.host'; |
960 | - $value = (string) $this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
960 | + $value = (string)$this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
961 | 961 | return $this->renderContentElementOfConfigured($valuePath, $value); |
962 | 962 | } |
963 | 963 | |
@@ -974,7 +974,7 @@ discard block |
||
974 | 974 | public function getSolrPort($defaultIfEmpty = 8983) |
975 | 975 | { |
976 | 976 | $valuePath = 'plugin.tx_solr.solr.port'; |
977 | - $value = (string) $this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
977 | + $value = (string)$this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
978 | 978 | return $this->renderContentElementOfConfigured($valuePath, $value); |
979 | 979 | } |
980 | 980 | |
@@ -991,7 +991,7 @@ discard block |
||
991 | 991 | public function getSolrPath($defaultIfEmpty = '/solr/core_en/') |
992 | 992 | { |
993 | 993 | $valuePath = 'plugin.tx_solr.solr.path'; |
994 | - $value = (string) $this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
994 | + $value = (string)$this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
995 | 995 | $solrPath = $this->renderContentElementOfConfigured($valuePath, $value); |
996 | 996 | |
997 | 997 | $solrPath = trim($solrPath, '/'); |
@@ -1013,7 +1013,7 @@ discard block |
||
1013 | 1013 | public function getSolrUsername($defaultIfEmpty = '') |
1014 | 1014 | { |
1015 | 1015 | $valuePath = 'plugin.tx_solr.solr.username'; |
1016 | - $value = (string) $this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
1016 | + $value = (string)$this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
1017 | 1017 | return $this->renderContentElementOfConfigured($valuePath, $value); |
1018 | 1018 | } |
1019 | 1019 | |
@@ -1030,7 +1030,7 @@ discard block |
||
1030 | 1030 | public function getSolrPassword($defaultIfEmpty = '') |
1031 | 1031 | { |
1032 | 1032 | $valuePath = 'plugin.tx_solr.solr.password'; |
1033 | - $value = (string) $this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
1033 | + $value = (string)$this->getValueByPathOrDefaultValue($valuePath, $defaultIfEmpty); |
|
1034 | 1034 | return $this->renderContentElementOfConfigured($valuePath, $value); |
1035 | 1035 | } |
1036 | 1036 |