diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-09-02 12:08:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 12:08:33 +0300 |
commit | a1d042d75603366b324a462dd7817db2b451ba94 (patch) | |
tree | 2c9ddecbfefa9c20cd0552f959d1a437d6016b37 /apps | |
parent | 04cc17e629f6cc040101d685076bedf598370191 (diff) | |
parent | 4398bb9077b0c35d47dfb33e6974bd8c83643902 (diff) |
Merge pull request #33159 from nextcloud/backport/32987/stable22
[stable22] Fix hook encryption with cron job
Diffstat (limited to 'apps')
-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'; |