diff options
author | friendica <info@friendica.com> | 2014-11-16 20:23:22 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-16 20:23:22 -0800 |
commit | b3383a2547846e14c79cf59a3a0a0b1939e2aa71 (patch) | |
tree | 61c1fa2a0d675b585c15160607ee2d2afb7309f3 /include/conversation.php | |
parent | acc8c692421581c2516bbe5d91d86ad2f3f12c27 (diff) | |
download | volse-hubzilla-b3383a2547846e14c79cf59a3a0a0b1939e2aa71.tar.gz volse-hubzilla-b3383a2547846e14c79cf59a3a0a0b1939e2aa71.tar.bz2 volse-hubzilla-b3383a2547846e14c79cf59a3a0a0b1939e2aa71.zip |
speed things up a wee bit
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/conversation.php b/include/conversation.php index af8780549..ada2cbbd6 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -793,12 +793,10 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $ // $tx1 = dba_timer(); $item_object = new Item($item); $conv->add_thread($item_object); - if($page_mode === 'list') + if($page_mode === 'list') { $item_object->set_template('conv_list.tpl'); - -// $tx2 = dba_timer(); -// if($mode === 'network') -// profiler($tx1,$tx2,'add thread ' . $item['id']); + $item_object->set_display_mode('list'); + } } } $t2 = dba_timer(); |