Some more cleanup and code removal.
This commit is contained in:
parent
98272fe386
commit
ea3a6ec6eb
5 changed files with 27 additions and 105 deletions
|
@ -423,12 +423,6 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
|
|||
else
|
||||
$profile_avatar = $item['author-avatar'];
|
||||
|
||||
//$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 = $a->remove_baseurl(((strlen($item['author-avatar'])) ? $item['author-avatar'] : $item['thumb']));
|
||||
|
||||
$locate = array('location' => $item['location'], 'coord' => $item['coord'], 'html' => '');
|
||||
call_hooks('render_location',$locate);
|
||||
|
||||
|
@ -801,12 +795,6 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
|
|||
else
|
||||
$profile_avatar = $item['author-avatar'];
|
||||
|
||||
//$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 = $a->remove_baseurl(((strlen($item['author-avatar']) && $diff_author) ? $item['author-avatar'] : $thumb));
|
||||
|
||||
$like = ((x($alike,$item['uri'])) ? format_like($alike[$item['uri']],$alike[$item['uri'] . '-l'],'like',$item['uri']) : '');
|
||||
$dislike = ((x($dlike,$item['uri'])) ? format_like($dlike[$item['uri']],$dlike[$item['uri'] . '-l'],'dislike',$item['uri']) : '');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue