diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-07-07 11:26:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 11:26:42 +0300 |
commit | 8d8fa861947a4380278a4af8392a6f6a51d3ce1c (patch) | |
tree | fdf5ec96a83bb4b81ef85c78826e77db8a2d185a /apps/files_sharing | |
parent | 5840c121637a2804fc436e1c71cf11f8cab4a2ff (diff) | |
parent | b4edbb3af52f849481313df1ef8f121bc37793b6 (diff) |
Merge pull request #32986 from nextcloud/backport/stable24/31771
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/ExpireSharesJob.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/ExpireSharesJob.php b/apps/files_sharing/lib/ExpireSharesJob.php index dd0979e4b0b..f5eb5856aea 100644 --- a/apps/files_sharing/lib/ExpireSharesJob.php +++ b/apps/files_sharing/lib/ExpireSharesJob.php @@ -85,7 +85,7 @@ class ExpireSharesJob extends TimedJob { ) ); - $shares = $qb->execute(); + $shares = $qb->executeQuery(); while ($share = $shares->fetch()) { if ((int)$share['share_type'] === IShare::TYPE_LINK) { $id = 'ocinternal'; |