cleanup localisation of like activities

This commit is contained in:
friendica 2013-05-28 01:50:28 -07:00
parent 7a011a99c7
commit e81e11382f

View File

@ -126,11 +126,9 @@ function localize_item(&$item){
break;
case ACTIVITY_OBJ_NOTE:
default:
// wrong item_flags, this won't work
// if(! ($item_flags & ITEM_THREAD_TOP))
// $post_type = t('comment');
// else
$post_type = t('status');
$post_type = t('status');
if($obj->id != $item['mid'])
$post_type = t('comment');
break;
}