]> git.mxchange.org Git - friendica.git/commitdiff
Removed check for priority
authorMichael <heluecht@pirati.ca>
Mon, 17 Aug 2020 15:49:34 +0000 (15:49 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 17 Aug 2020 15:49:34 +0000 (15:49 +0000)
src/Protocol/Feed.php

index 28e0493daeddd530d90538ee5ca70a5f6d77594d..560fe005e6dbe0b9645b8ea051f5542ead90cce0 100644 (file)
@@ -618,8 +618,8 @@ class Feed
         */
        private static function adjustPollFrequency(array $contact, array $creation_dates)
        {
-               if (($contact['priority'] > 3) || ($contact['network'] != Protocol::FEED)) {
-                       Logger::info('Contact is no feed or has a low priority, skip.', ['id' => $contact['id'], 'uid' => $contact['uid'], 'url' => $contact['url'], 'priority' => $contact['priority'], 'network' => $contact['network']]);
+               if ($contact['network'] != Protocol::FEED) {
+                       Logger::info('Contact is no feed, skip.', ['id' => $contact['id'], 'uid' => $contact['uid'], 'url' => $contact['url'], 'network' => $contact['network']]);
                        return;
                }