string update for 2.38
This commit is contained in:
parent
a3cf563b68
commit
9441ff5142
|
@ -1803,6 +1803,9 @@ function diaspora_profile($importer,$xml) {
|
||||||
if(substr($birthday,5) === substr($contact['bd'],5))
|
if(substr($birthday,5) === substr($contact['bd'],5))
|
||||||
$birthday = $contact['bd'];
|
$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",
|
$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($name),
|
||||||
dbesc(datetime_convert()),
|
dbesc(datetime_convert()),
|
||||||
|
|
1440
util/messages.po
1440
util/messages.po
File diff suppressed because it is too large
Load Diff
671
util/strings.php
671
util/strings.php
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user