1
0
Fork 0

Some fix on forgotten or useless vars

This commit is contained in:
Domovoy 2012-08-12 15:39:21 +02:00
parent 91edb06bcb
commit d603f76678
2 changed files with 1 additions and 5 deletions

View file

@ -50,6 +50,7 @@ class Conversation extends BaseObject {
return false; return false;
break; break;
} }
$this->mode = $mode;
} }
/** /**

View file

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