From 99fc40e540d6a6d5b1a6c88eb2ffa9625adfa003 Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Wed, 28 Feb 2024 14:37:45 +0100 Subject: [PATCH] Remove support for old SQLite versions --- .../Database/Query/Grammars/SQLiteGrammar.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php b/src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php index 0c43e4db8bfd..9a61a69c7108 100755 --- a/src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php +++ b/src/Illuminate/Database/Query/Grammars/SQLiteGrammar.php @@ -184,25 +184,6 @@ protected function compileJsonContainsKey($column) return 'json_type('.$field.$path.') is not null'; } - /** - * Compile a group limit clause. - * - * @param \Illuminate\Database\Query\Builder $query - * @return string - */ - protected function compileGroupLimit(Builder $query) - { - $version = $query->getConnection()->getServerVersion(); - - if (version_compare($version, '3.25.0') >= 0) { - return parent::compileGroupLimit($query); - } - - $query->groupLimit = null; - - return $this->compileSelect($query); - } - /** * Compile an update statement into SQL. *