speed things up a wee bit

This commit is contained in:
friendica
2014-11-16 20:23:22 -08:00
parent acc8c69242
commit b3383a2547
2 changed files with 16 additions and 7 deletions

View File

@@ -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();