cleanup localisation of like activities
This commit is contained in:
parent
7a011a99c7
commit
e81e11382f
@ -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
|
|
||||||
// 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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user