X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FOnePoll.php;h=bb3dd97198fe5dde383f6c1436beae935ea23fb1;hb=bf8fb215a9cc554b5ec5b774168a52fb56fa43e6;hp=73971a8b1b59f8b81bdf7f47accc265106cf59f5;hpb=7bdf22a0d508e35dede053c35d9b1c1b30314a95;p=friendica.git diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index 73971a8b1b..bb3dd97198 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -56,7 +56,7 @@ class OnePoll // We never probe mail contacts since their probing demands a mail from the contact in the inbox. // We don't probe feed accounts by default since they are polled in a higher frequency, but forced probes are okay. - if (!in_array($contact['network'], [Protocol::MAIL, Protocol::FEED]) || ($force && ($contact['network'] == Protocol::FEED))) { + if ($force && ($contact['network'] == Protocol::FEED)) { $success = Contact::updateFromProbe($contact_id); } else { $success = true;