dont account crashing boolean for follows

This commit is contained in:
Kyle Drake 2015-11-23 23:26:08 -08:00
parent b671a19326
commit 053a82d3eb

View file

@ -472,12 +472,12 @@ class Site < Sequel::Model
# Who this site follows # Who this site follows
def followings_dataset def followings_dataset
super.select_all(:follows).inner_join(:sites, :id=>:site_id).exclude(:sites__is_deleted => true).exclude(:sites__is_banned => true).exclude(:sites__is_crashing => true) super.select_all(:follows).inner_join(:sites, :id=>:site_id).exclude(:sites__is_deleted => true).exclude(:sites__is_banned => true)
end end
# Who this site is following # Who this site is following
def follows_dataset def follows_dataset
super.select_all(:follows).inner_join(:sites, :id=>:actioning_site_id).exclude(:sites__is_deleted => true).exclude(:sites__is_banned => true).exclude(:sites__is_crashing => true) super.select_all(:follows).inner_join(:sites, :id=>:actioning_site_id).exclude(:sites__is_deleted => true).exclude(:sites__is_banned => true)
end end
=begin =begin