staged accounts are causing trouble, stop using them

staged accounts are causing trouble, stop using them

diff --git a/jobs/scheduled/check_cakeday.rb b/jobs/scheduled/check_cakeday.rb
index 047714a..b1fed34 100644
--- a/jobs/scheduled/check_cakeday.rb
+++ b/jobs/scheduled/check_cakeday.rb
@@ -56,6 +56,8 @@ module Jobs
       yday = Time.zone.now.yday
 
       User
+        .real
+        .where(staged: false)
         .joins("LEFT JOIN user_custom_fields f1 ON f1.user_id = users.id AND f1.name = 'cakeday_notice'")
         .joins('LEFT JOIN topics t ON f1.value IS NOT NULL AND f1.value::int = t.id')
         .where(

GitHub sha: ab32cc56