mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 07:43:18 -04:00
Merge pull request #45116 from nextcloud/backport/45104/stable28
[stable28] fix: Remove bogus code from query builder and fix parameter name
This commit is contained in:
commit
9589ac4468
1 changed files with 2 additions and 6 deletions
|
|
@ -975,14 +975,10 @@ class QueryBuilder implements IQueryBuilder {
|
|||
*
|
||||
* @return $this This QueryBuilder instance.
|
||||
*/
|
||||
public function addGroupBy(...$groupBys) {
|
||||
if (count($groupBys) === 1 && is_array($groupBys[0])) {
|
||||
$$groupBys = $groupBys[0];
|
||||
}
|
||||
|
||||
public function addGroupBy(...$groupBy) {
|
||||
call_user_func_array(
|
||||
[$this->queryBuilder, 'addGroupBy'],
|
||||
$this->helper->quoteColumnNames($groupBys)
|
||||
$this->helper->quoteColumnNames($groupBy)
|
||||
);
|
||||
|
||||
return $this;
|
||||
|
|
|
|||
Loading…
Reference in a new issue