diff --git a/composer.json b/composer.json index c59d773..cee3cfe 100644 --- a/composer.json +++ b/composer.json @@ -11,12 +11,15 @@ "php": "^7.3 || ^8.0", "silverstripe/framework": "^4.10", "cwp/cwp": "^2", - "silverstripe/fulltextsearch": "^3" + "silverstripe/fulltextsearch": "^3.4" }, "require-dev": { "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "^3" }, + "conflict": { + "silverstripe/auditor": "<2.2.1" + }, "autoload": { "psr-4": { "CWP\\Search\\": "src/", diff --git a/src/Solr/CwpSolr.php b/src/Solr/CwpSolr.php index bbd8e6d..4deca28 100644 --- a/src/Solr/CwpSolr.php +++ b/src/Solr/CwpSolr.php @@ -39,7 +39,6 @@ public static function configure() // get options from configuration $options = static::config()->get('options'); - // get version specific options switch ($options['version']) { case 'cwp-4':