- Improved speed due to forced indexes when showing items.
- Possibility to setup a hostname
This commit is contained in:
parent
159a7bda85
commit
d5ae5ecedd
8 changed files with 41 additions and 38 deletions
|
|
@ -130,10 +130,14 @@ class Conversation extends BaseObject {
|
|||
global $a;
|
||||
$result = array();
|
||||
|
||||
$i = 0;
|
||||
|
||||
foreach($this->threads as $item) {
|
||||
if($item->get_data_value('network') === NETWORK_MAIL && local_user() != $item->get_data_value('uid'))
|
||||
continue;
|
||||
|
||||
$item_data = $item->get_template_data($alike, $dlike);
|
||||
|
||||
if(!$item_data) {
|
||||
logger('[ERROR] Conversation::get_template_data : Failed to get item template data ('. $item->get_id() .').', LOGGER_DEBUG);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue