]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/PollContacts.php
Merge pull request #12320 from annando/issue-11553a
[friendica.git] / src / Worker / PollContacts.php
index b4312ef0c3022cab852d8b97f57ab3facde3a411..454b5a9aea46c80335825b4bf39543eb8d7fe808 100644 (file)
@@ -71,11 +71,11 @@ class PollContacts
                        }
 
                        if ((($contact['network'] == Protocol::FEED) && ($contact['priority'] <= 3)) || ($contact['network'] == Protocol::MAIL)) {
-                               $priority = PRIORITY_MEDIUM;
+                               $priority = Worker::PRIORITY_MEDIUM;
                        } elseif ($contact['archive']) {
-                               $priority = PRIORITY_NEGLIGIBLE;
+                               $priority = Worker::PRIORITY_NEGLIGIBLE;
                        } else {
-                               $priority = PRIORITY_LOW;
+                               $priority = Worker::PRIORITY_LOW;
                        }
 
                        Logger::notice("Polling " . $contact["network"] . " " . $contact["id"] . " " . $contact['priority'] . " " . $contact["nick"] . " " . $contact["name"]);