diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-03-31 11:18:03 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-06 17:42:49 +0200 |
commit | 003b2a4e4f2ec53e2116f0d424e29f42d6c68bb4 (patch) | |
tree | 124a0df979ee9ef8700a2dfff4dc34b509c2d3c0 /apps | |
parent | 63fb2e02811f918dff2282002c876432d29fb977 (diff) | |
download | nextcloud-server-003b2a4e4f2ec53e2116f0d424e29f42d6c68bb4.tar.gz nextcloud-server-003b2a4e4f2ec53e2116f0d424e29f42d6c68bb4.zip |
Fix hook encryption with cron job
Make sure the setup fs is set before using the Update service
Backport of #29674
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
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'; |