From 98d44ce7c7b19fdd399ee055f1934928d03f17a5 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 17 Jan 2019 05:32:06 +0000 Subject: [PATCH] The "]" had been at the wrong place --- src/Worker/OnePoll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/OnePoll.php b/src/Worker/OnePoll.php index 86da2791c2..4cfcf1037e 100644 --- a/src/Worker/OnePoll.php +++ b/src/Worker/OnePoll.php @@ -106,7 +106,7 @@ class OnePoll if (in_array($contact['network'], [Protocol::ACTIVITYPUB, Protocol::OSTATUS, Protocol::DIASPORA, Protocol::DFRN])) { $updated = DateTimeFormat::utcNow(); // Currently we can't check every AP implementation, so we don't do it at all - if (($contact['network' != Protocol::ACTIVITYPUB]) && !PortableContact::reachable($contact['url'])) { + if (($contact['network'] != Protocol::ACTIVITYPUB) && !PortableContact::reachable($contact['url'])) { Logger::log("Skipping probably dead contact ".$contact['url']); // set the last-update so we don't keep polling -- 2.39.5