API: Improved the timeline. Several (disabled) tests with caching of photos.

This commit is contained in:
Michael Vogel 2012-04-11 19:31:01 +02:00
parent fe257a2032
commit c88c2515e4
4 changed files with 42 additions and 8 deletions

View file

@ -626,10 +626,6 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
else
$profile_avatar = (((strlen($item['author-avatar'])) && $diff_author) ? $item['author-avatar'] : $thumb);
$like = ((x($alike,$item['id'])) ? format_like($alike[$item['id']],$alike[$item['id'] . '-l'],'like',$item['id']) : '');
$dislike = ((x($dlike,$item['id'])) ? format_like($dlike[$item['id']],$dlike[$item['id'] . '-l'],'dislike',$item['id']) : '');
@ -1089,4 +1085,3 @@ function render_location_google($item) {
}
return $location;
}