forked from GNUsocial/gnu-social
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
This commit is contained in:
commit
b8d32a5118
|
@ -107,7 +107,7 @@ class ConversationAction extends Action
|
||||||
|
|
||||||
function showContent()
|
function showContent()
|
||||||
{
|
{
|
||||||
$notices = Notice::conversationStream($this->id);
|
$notices = Notice::conversationStream($this->id, 0, null);
|
||||||
|
|
||||||
$ct = new ConversationTree($notices, $this);
|
$ct = new ConversationTree($notices, $this);
|
||||||
|
|
||||||
|
@ -140,9 +140,7 @@ class ConversationTree extends NoticeList
|
||||||
|
|
||||||
function show()
|
function show()
|
||||||
{
|
{
|
||||||
$cnt = 0;
|
$cnt = $this->_buildTree();
|
||||||
|
|
||||||
$this->_buildTree();
|
|
||||||
|
|
||||||
$this->out->elementStart('div', array('id' =>'notices_primary'));
|
$this->out->elementStart('div', array('id' =>'notices_primary'));
|
||||||
$this->out->element('h2', null, _('Notices'));
|
$this->out->element('h2', null, _('Notices'));
|
||||||
|
@ -181,6 +179,8 @@ class ConversationTree extends NoticeList
|
||||||
$this->tree[$notice->reply_to] = array($notice->id);
|
$this->tree[$notice->reply_to] = array($notice->id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $cnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue