From e0955535902b13982f58c063d47ab00a9d4d1db9 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 27 Jul 2015 07:16:06 +0200 Subject: [PATCH] Mark contacts from not reachable servers as unreachable --- include/discover_poco.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/discover_poco.php b/include/discover_poco.php index bd3483307..687698b44 100644 --- a/include/discover_poco.php +++ b/include/discover_poco.php @@ -108,7 +108,9 @@ function discover_users() { if (++$checked > 100) return; - } + } else + q("UPDATE `gcontact` SET `last_failure` = '%s' WHERE `nurl` = '%s'", + dbesc(datetime_convert()), dbesc(normalise_link($user["url"]))); } } }