Remove unused settings.

This commit is contained in:
James Cole
2025-12-20 06:10:51 +01:00
parent d235e32c34
commit be9078fe99
4 changed files with 8 additions and 20 deletions

View File

@@ -50,12 +50,14 @@ class SearchServiceProvider extends ServiceProvider
{
$this->app->bind(
static function (): QueryParserInterface {
$implementation = config('search.query_parser');
return match ($implementation) {
'new' => app(QueryParser::class),
default => app(GdbotsQueryParser::class),
};
return app(QueryParser::class);
// 2025-12-20 ignore this setting.
// $implementation = config('search.query_parser');
//
// return match ($implementation) {
// 'new' => app(QueryParser::class),
// default => app(GdbotsQueryParser::class),
// };
}
);