Code style
This commit is contained in:
parent
f696fce824
commit
64d181c1cc
|
@ -592,8 +592,7 @@ class Conversation
|
|||
|
||||
$tags = Tag::populateFromItem($item);
|
||||
|
||||
$author = ['uid' => 0, 'id' => $item['author-id'],
|
||||
'network' => $item['author-network'], 'url' => $item['author-link']];
|
||||
$author = ['uid' => 0, 'id' => $item['author-id'], 'network' => $item['author-network'], 'url' => $item['author-link']];
|
||||
$profile_link = Contact::magicLinkByContact($author);
|
||||
|
||||
$sparkle = '';
|
||||
|
@ -902,7 +901,7 @@ class Conversation
|
|||
$commentcounter = [];
|
||||
$activitycounter = [];
|
||||
|
||||
foreach ($parents AS $parent) {
|
||||
foreach ($parents as $parent) {
|
||||
if (!empty($parent['thr-parent-id']) && !empty($parent['gravity']) && ($parent['gravity'] == GRAVITY_ACTIVITY)) {
|
||||
$uriid = $parent['thr-parent-id'];
|
||||
if (!empty($parent['author-id'])) {
|
||||
|
|
|
@ -138,7 +138,6 @@ class Community extends BaseModule
|
|||
return $o;
|
||||
}
|
||||
|
||||
// $o .= conversation(DI::app(), $items, 'community', false, false, 'commented', local_user());
|
||||
$o .= DI::conversation()->create($items, 'community', false, false, 'commented', local_user());
|
||||
|
||||
$pager = new BoundariesPager(
|
||||
|
|
Loading…
Reference in New Issue
Block a user