diff options
author | Joas Schilling <coding@schilljs.com> | 2016-12-12 17:18:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 17:18:57 +0300 |
commit | 08d619e29f8569d6de07a22e3a7bb6bdb400a518 (patch) | |
tree | a5c61242756fbf6a8ab7b477e762085ff4136f34 | |
parent | c97d8da00fe585d0540429e5365b29274fa4a30e (diff) | |
parent | 25ea9ac31536d57c389d5a4d01d0b19e931512d9 (diff) |
Merge pull request #17 from nextcloud/dont-repeat-the-last-notificationv11.0.0
Do not add notifications again
-rw-r--r-- | lib/Cron/Crawler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Cron/Crawler.php b/lib/Cron/Crawler.php index dad2f2b..958b859 100644 --- a/lib/Cron/Crawler.php +++ b/lib/Cron/Crawler.php @@ -101,7 +101,7 @@ class Crawler extends TimedJob { } $pubDate = new \DateTime((string) $item->pubDate); - if ($pubDate < $lastPubDateTime) { + if ($pubDate <= $lastPubDateTime) { continue; } |