Some fix on forgotten or useless vars

2022.09-rc
Domovoy 2012-08-12 15:39:21 +02:00
rodzic 91edb06bcb
commit d603f76678
2 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

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

Wyświetl plik

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