lib/meibo/user_set.rb in meibo-0.16.0 vs lib/meibo/user_set.rb in meibo-0.17.0

- old
+ new

@@ -4,12 +4,10 @@ class UserSet < DataSet def check_semantically_consistent super each do |user| - if user.primary_org_sourced_id - roster.organizations.find(user.primary_org_sourced_id) - end + roster.organizations.find(user.primary_org_sourced_id) if user.primary_org_sourced_id user.agent_sourced_ids.each do |agent_sourced_id| find(agent_sourced_id) end end