]> git.mxchange.org Git - friendica.git/commitdiff
Mark contacts from not reachable servers as unreachable
authorMichael Vogel <icarus@dabo.de>
Mon, 27 Jul 2015 05:16:06 +0000 (07:16 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 27 Jul 2015 05:16:06 +0000 (07:16 +0200)
include/discover_poco.php

index bd3483307db75672db78c1ff3430f87bf0754444..687698b44f29443551bee552b593dfb4e865522a 100644 (file)
@@ -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"])));
                }
        }
 }