Skip to content

Commit

Permalink
fix: deprecated
Browse files Browse the repository at this point in the history
This was deprecated at Nextcloud 30

Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Nov 5, 2024
1 parent 4e359ac commit 01ff483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Db/SignRequestMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ private function getFilesAssociatedFilesWithMeQueryBuilder(string $userId, ?arra
// when the database is PostgreSQL. The problem is that the command
// addGroupBy add quotes over all text send as argument. With
// PostgreSQL json columns don't have problem if not added to group by.
if (!$qb->getConnection()->getDatabasePlatform() instanceof PostgreSQLPlatform) {
if (!$qb->getConnection()->getDatabaseProvider() instanceof PostgreSQLPlatform) {
$qb->addGroupBy('f.metadata');
}

Expand Down

0 comments on commit 01ff483

Please sign in to comment.