Merge pull request #693 from fabrixxm/moveme

uimport: set contacts 'avatar-date' to zero
This commit is contained in:
Tobias Diekershoff 2013-06-12 21:30:32 -07:00
commit 65faccbae6

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)