]> git.mxchange.org Git - friendica.git/commitdiff
uimport: set contacts 'avatar-date' to zero. should fix issue #692
authorFabrixxm <fabrix.xm@gmail.com>
Wed, 12 Jun 2013 07:51:53 +0000 (03:51 -0400)
committerFabrixxm <fabrix.xm@gmail.com>
Wed, 12 Jun 2013 07:51:53 +0000 (03:51 -0400)
include/uimport.php

index 4fd91f80a7400ce396134f472aadb8633825480f..1bfd3334c8a3a74d96efd960603722963cb0c491 100644 (file)
@@ -170,6 +170,10 @@ function import_account(&$a, $file) {
                        }\r
                }\r
                if ($contact['uid'] == $olduid && $contact['self'] == '0') {\r
+                       // set contacts 'avatar-date' to "0000-00-00 00:00:00" to let poller to update urls\r
+                       $contact["avatar-date"] = "0000-00-00 00:00:00" ;\r
+               \r
+               \r
                        switch ($contact['network']) {\r
                                case NETWORK_DFRN:\r
                                        //  send relocate message (below)\r