diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-06-12 13:15:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 13:15:48 +0300 |
commit | aed2fa8fd3634f5ad7ec3c44ff9028243c6a2338 (patch) | |
tree | e97c647b62f6e5673ff23cad3cf8aa179b26aebf | |
parent | 7c8b936a5b2c21b61652a83fee982467855a4bb7 (diff) | |
parent | 61e92202c79e02bababcea0c45b5af39d01a947a (diff) |
Merge pull request #93 from nextcloud/backport/92/stable19v1.8.0
[stable19] Only notify before. Not every day but the day before.
-rw-r--r-- | lib/BackgroundJob/RetentionJob.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BackgroundJob/RetentionJob.php b/lib/BackgroundJob/RetentionJob.php index d604d52..9a883c4 100644 --- a/lib/BackgroundJob/RetentionJob.php +++ b/lib/BackgroundJob/RetentionJob.php @@ -229,7 +229,7 @@ class RetentionJob extends TimedJob { $mtime->setTimestamp($node->getUploadTime()); } - if ($mtime > $notifyBefore) { + if ($mtime < $notifyBefore) { try { $notification = $this->notificationManager->createNotification(); $notification->setApp(Application::APP_ID) |