From 39d2720e7b9d7674cbdf4c76bc579f3819691528 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 23 Jul 2015 23:27:15 +0200 Subject: [PATCH] Update the contact when activated --- include/socgraph.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/socgraph.php b/include/socgraph.php index b9028724a2..7d4cca18a9 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -264,8 +264,9 @@ function poco_check($profile_url, $name, $network, $profile_photo, $about, $loca poco_check_server($server_url, $network); - // Only fetch last update manually if it wasn't provided and enabled in the system - if (get_config('system','poco_completion') AND ($orig_updated == "0000-00-00 00:00:00") + // Fetch last update manually if it is enabled in the system + // AND ($orig_updated == "0000-00-00 00:00:00") + if (get_config('system','poco_completion') AND poco_do_update($created, $updated, $last_failure, $last_contact) AND poco_reachable($profile_url, $server_url, $network)) { $last_updated = poco_last_updated($profile_url);