string update for 2.38

This commit is contained in:
friendica 2012-02-24 22:47:43 -08:00
parent a3cf563b68
commit 9441ff5142
3 changed files with 1332 additions and 782 deletions

View File

@ -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()),

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff