From bea89c17fe64f4bcc811b3f8191c5ceafedd5603 Mon Sep 17 00:00:00 2001 From: Fabrixxm Date: Wed, 12 Jun 2013 03:51:53 -0400 Subject: [PATCH] uimport: set contacts 'avatar-date' to zero. should fix issue #692 --- include/uimport.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/uimport.php b/include/uimport.php index 4fd91f80a7..1bfd3334c8 100644 --- a/include/uimport.php +++ b/include/uimport.php @@ -170,6 +170,10 @@ function import_account(&$a, $file) { } } if ($contact['uid'] == $olduid && $contact['self'] == '0') { + // set contacts 'avatar-date' to "0000-00-00 00:00:00" to let poller to update urls + $contact["avatar-date"] = "0000-00-00 00:00:00" ; + + switch ($contact['network']) { case NETWORK_DFRN: // send relocate message (below)