Some fix on forgotten or useless vars
This commit is contained in:
parent
91edb06bcb
commit
d603f76678
|
@ -50,6 +50,7 @@ class Conversation extends BaseObject {
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
$this->mode = $mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -59,8 +59,6 @@ class Item extends BaseObject {
|
||||||
$isstarred = "unstarred";
|
$isstarred = "unstarred";
|
||||||
$indent = '';
|
$indent = '';
|
||||||
$osparkle = '';
|
$osparkle = '';
|
||||||
$lastcollapsed = false;
|
|
||||||
$firstcollapsed = false;
|
|
||||||
$total_children = $this->count_descendants();
|
$total_children = $this->count_descendants();
|
||||||
|
|
||||||
$conv = $this->get_conversation();
|
$conv = $this->get_conversation();
|
||||||
|
@ -236,9 +234,6 @@ class Item extends BaseObject {
|
||||||
$body = prepare_body($item,true);
|
$body = prepare_body($item,true);
|
||||||
|
|
||||||
$tmp_item = array(
|
$tmp_item = array(
|
||||||
// collapse comments in template. I don't like this much...
|
|
||||||
'comment_firstcollapsed' => $firstcollapsed,
|
|
||||||
'comment_lastcollapsed' => $lastcollapsed,
|
|
||||||
// template to use to render item (wall, walltowall, search)
|
// template to use to render item (wall, walltowall, search)
|
||||||
'template' => $this->get_template(),
|
'template' => $this->get_template(),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user