uimport: set contacts 'avatar-date' to zero. should fix issue #692

This commit is contained in:
Fabrixxm 2013-06-12 03:51:53 -04:00
parent ae97ee9040
commit bea89c17fe
1 changed files with 4 additions and 0 deletions

View File

@ -170,6 +170,10 @@ function import_account(&$a, $file) {
} }
} }
if ($contact['uid'] == $olduid && $contact['self'] == '0') { 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']) { switch ($contact['network']) {
case NETWORK_DFRN: case NETWORK_DFRN:
// send relocate message (below) // send relocate message (below)