From f18140b81f4e42047559f74ddbe24a6edc92fbe6 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Wed, 3 Jun 2015 12:16:39 -0400 Subject: [PATCH] FIX: digest emails weren't using user's last emailed and last seen times --- app/mailers/user_notifications.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/mailers/user_notifications.rb b/app/mailers/user_notifications.rb index 97aa38b8364..446ac0cd00c 100644 --- a/app/mailers/user_notifications.rb +++ b/app/mailers/user_notifications.rb @@ -53,7 +53,6 @@ class UserNotifications < ActionMailer::Base @base_url = Discourse.base_url min_date = opts[:since] || @user.last_emailed_at || @user.last_seen_at || 1.month.ago - min_date = 2.month.ago @site_name = SiteSetting.title