From d603f7667886bb96517cf8c3f4ed1a643ce2774d Mon Sep 17 00:00:00 2001 From: Domovoy Date: Sun, 12 Aug 2012 15:39:21 +0200 Subject: [PATCH] Some fix on forgotten or useless vars --- object/Conversation.php | 1 + object/Item.php | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/object/Conversation.php b/object/Conversation.php index ca2ed2bb82..634a093972 100644 --- a/object/Conversation.php +++ b/object/Conversation.php @@ -50,6 +50,7 @@ class Conversation extends BaseObject { return false; break; } + $this->mode = $mode; } /** diff --git a/object/Item.php b/object/Item.php index 7aaec5c46a..5ed2e2e746 100644 --- a/object/Item.php +++ b/object/Item.php @@ -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(), -- 2.39.5