diff options
author | friendica <info@friendica.com> | 2012-02-24 22:47:43 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-24 22:47:43 -0800 |
commit | 9441ff5142551d1db547ac7ff80c897a52c934c7 (patch) | |
tree | 3445d0ea175307cc95f4128936f442186be07405 /include/diaspora.php | |
parent | a3cf563b6836391ff4d07335cf25189c7a06418e (diff) | |
download | volse-hubzilla-9441ff5142551d1db547ac7ff80c897a52c934c7.tar.gz volse-hubzilla-9441ff5142551d1db547ac7ff80c897a52c934c7.tar.bz2 volse-hubzilla-9441ff5142551d1db547ac7ff80c897a52c934c7.zip |
string update for 2.38
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-x | include/diaspora.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php index 92f3500f2..5896f1bfd 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -1803,6 +1803,9 @@ function diaspora_profile($importer,$xml) { if(substr($birthday,5) === substr($contact['bd'],5)) $birthday = $contact['bd']; + // TODO: update name on item['author-name'] if the name changed. See consume_feed() + // Not doing this currently because D* protocol is scheduled for revision soon. + $r = q("UPDATE `contact` SET `name` = '%s', `name-date` = '%s', `photo` = '%s', `thumb` = '%s', `micro` = '%s', `avatar-date` = '%s' , `bd` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1", dbesc($name), dbesc(datetime_convert()), |