Merge pull request #128 from oohlaf/fixes

No need to add name_updated twice in zfinger response
This commit is contained in:
Olaf Conradi 2013-09-10 15:36:06 -07:00
commit 58490a4a80

View File

@ -130,7 +130,6 @@ function zfinger_init(&$a) {
$ret['photo_updated'] = $e['xchan_photo_date'];
$ret['url'] = $e['xchan_url'];
$ret['connections_url']= (($e['xchan_connurl']) ? $e['xchan_connurl'] : z_root() . '/poco/' . $e['channel_address']);
$ret['name_updated'] = $e['xchan_name_date'];
$ret['target'] = $ztarget;
$ret['target_sig'] = $zsig;
$ret['searchable'] = $searchable;
@ -250,4 +249,4 @@ function zfinger_init(&$a) {
}
json_return_and_die($ret);
}
}