mirror of
https://github.com/friendica/friendica
synced 2025-05-05 18:24:10 +02:00
Some more cleanup and code removal.
This commit is contained in:
parent
98272fe386
commit
ea3a6ec6eb
5 changed files with 27 additions and 105 deletions
|
@ -157,13 +157,6 @@ class Item extends BaseObject {
|
|||
else
|
||||
$profile_avatar = $item['author-avatar'];
|
||||
|
||||
// This was the old method. We leave it here at the moment
|
||||
//$normalised = normalise_link((strlen($item['author-link'])) ? $item['author-link'] : $item['url']);
|
||||
//if(($normalised != 'mailbox') && (x($a->contacts,$normalised)))
|
||||
// $profile_avatar = $a->contacts[$normalised]['thumb'];
|
||||
//else
|
||||
// $profile_avatar = (((strlen($item['author-avatar'])) && $diff_author) ? $item['author-avatar'] : $a->remove_baseurl($this->get_data_value('thumb')));
|
||||
|
||||
$locate = array('location' => $item['location'], 'coord' => $item['coord'], 'html' => '');
|
||||
call_hooks('render_location',$locate);
|
||||
$location = ((strlen($locate['html'])) ? $locate['html'] : render_location_dummy($locate));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue