mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Use legacy execute method
Use legacy execute method instead of executeQuery introduced in 22 Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
8e7eea935a
commit
1297b04d41
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ class Manager implements ICommentsManager {
|
|||
foreach (array_chunk($objectIds, 1000) as $chunk) {
|
||||
$query->setParameter('ids', $chunk, IQueryBuilder::PARAM_INT_ARRAY);
|
||||
|
||||
$result = $query->executeQuery();
|
||||
$result = $query->execute();
|
||||
while ($row = $result->fetch()) {
|
||||
$unreadComments[$row['object_id']] = (int) $row['num_comments'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue