Skip to content
Snippets Groups Projects
Commit 0f780722 authored by danielvincent's avatar danielvincent
Browse files

DG MS; cleaned up method

parent 9162a4a1
No related branches found
No related tags found
No related merge requests found
......@@ -44,11 +44,9 @@ module Diaspora
end
def people_in_aspects aspects
people = []
aspects.each{ |aspect|
people = people | aspect.people
}
people
aspects.inject([]) do |found_people,aspect|
found_people | aspect.people
end
end
def all_aspect_ids
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment