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;
break;
}
$this->mode = $mode;
}
/**

View File

@ -59,8 +59,6 @@ class Item extends BaseObject {
$isstarred = "unstarred";
$indent = '';
$osparkle = '';
$lastcollapsed = false;
$firstcollapsed = false;
$total_children = $this->count_descendants();
$conv = $this->get_conversation();
@ -236,9 +234,6 @@ class Item extends BaseObject {
$body = prepare_body($item,true);
$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' => $this->get_template(),