Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-09-02 12:08:33 +0300
committerGitHub <noreply@github.com>2022-09-02 12:08:33 +0300
commita1d042d75603366b324a462dd7817db2b451ba94 (patch)
tree2c9ddecbfefa9c20cd0552f959d1a437d6016b37 /apps
parent04cc17e629f6cc040101d685076bedf598370191 (diff)
parent4398bb9077b0c35d47dfb33e6974bd8c83643902 (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.php2
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';