We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d3a2e2 + 2aa69ba commit 5a7a0a2Copy full SHA for 5a7a0a2
1 file changed
apps/files_sharing/lib/ExpireSharesJob.php
@@ -60,7 +60,10 @@ public function run($argument) {
60
->from('share')
61
->where(
62
$qb->expr()->andX(
63
- $qb->expr()->eq('share_type', $qb->expr()->literal(IShare::TYPE_LINK)),
+ $qb->expr()->orX(
64
+ $qb->expr()->eq('share_type', $qb->expr()->literal(IShare::TYPE_LINK)),
65
+ $qb->expr()->eq('share_type', $qb->expr()->literal(IShare::TYPE_EMAIL))
66
+ ),
67
$qb->expr()->lte('expiration', $qb->expr()->literal($now)),
68
$qb->expr()->orX(
69
$qb->expr()->eq('item_type', $qb->expr()->literal('file')),
0 commit comments