Skip to content

Commit 6ab7279

Browse files
mgoldbeckdaniellienert
authored andcommitted
TASK: extend from Version2 SystemDriver
1 parent 90ffc72 commit 6ab7279

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

Classes/Driver/Version5/SystemDriver.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,14 @@
1111
* source code.
1212
*/
1313

14-
use Flowpack\ElasticSearch\ContentRepositoryAdaptor\Driver\Version1;
14+
use Flowpack\ElasticSearch\ContentRepositoryAdaptor\Driver\Version2;
1515
use TYPO3\Flow\Annotations as Flow;
1616

1717
/**
1818
* System driver for Elasticsearch version 5.x
1919
*
2020
* @Flow\Scope("singleton")
2121
*/
22-
class SystemDriver extends Version1\SystemDriver
22+
class SystemDriver extends Version2\SystemDriver
2323
{
24-
/**
25-
* {@inheritdoc}
26-
*/
27-
public function status()
28-
{
29-
return $this->searchClient->request('GET', '/_stats')->getTreatedContent();
30-
}
3124
}

0 commit comments

Comments
 (0)