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; break;
case ACTIVITY_OBJ_NOTE: case ACTIVITY_OBJ_NOTE:
default: default:
// wrong item_flags, this won't work $post_type = t('status');
// if(! ($item_flags & ITEM_THREAD_TOP)) if($obj->id != $item['mid'])
// $post_type = t('comment'); $post_type = t('comment');
// else
$post_type = t('status');
break; break;
} }