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

github.com/nextcloud/nextcloud_announcements.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-12-12 17:18:57 +0300
committerGitHub <noreply@github.com>2016-12-12 17:18:57 +0300
commit08d619e29f8569d6de07a22e3a7bb6bdb400a518 (patch)
treea5c61242756fbf6a8ab7b477e762085ff4136f34
parentc97d8da00fe585d0540429e5365b29274fa4a30e (diff)
parent25ea9ac31536d57c389d5a4d01d0b19e931512d9 (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.php2
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;
}