[pan2] forgot this



commit a2e37a15e37dba1119144b212d90832c0d81a515
Author: Heinrich MÃller <henmull src gnome org>
Date:   Fri Jul 13 19:11:01 2012 +0200

    forgot this

 pan/data-impl/my-tree.cc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pan/data-impl/my-tree.cc b/pan/data-impl/my-tree.cc
index c4d49a1..98046bb 100644
--- a/pan/data-impl/my-tree.cc
+++ b/pan/data-impl/my-tree.cc
@@ -254,14 +254,13 @@ DataImpl :: MyTree :: cache_articles (std::set<const Article*> s)
   Queue* queue (_data.get_queue());
   Prefs& prefs (_data.get_prefs());
   const bool action (prefs.get_flag("rules-autocache-mark-read", false));
-  const bool always (prefs.get_flag("mark-downloaded-articles-read", false));
 
   Queue::tasks_t tasks;
   ArticleCache& cache(_data.get_cache());
   foreach_const (std::set<const Article*>, s, it)
     if (!_data.is_read(*it))
       tasks.push_back (new TaskArticle (_data, _data, **it, cache, _data,
-                                        always ? TaskArticle::ALWAYS_MARK : action ? TaskArticle::ACTION_TRUE : TaskArticle::ACTION_FALSE));
+                                        action ? TaskArticle::ACTION_TRUE : TaskArticle::ACTION_FALSE));
   if (!tasks.empty())
     queue->add_tasks (tasks, Queue::BOTTOM);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]