remove unused variable

This commit is contained in:
Fabian Rodriguez 2014-01-04 21:00:03 -02:00 committed by Florian Staudacher
parent 8d8d3c649a
commit 9fc70a03a9

View file

@ -245,8 +245,6 @@ class User < ActiveRecord::Base
end
def add_to_streams(post, aspects_to_insert)
inserted_aspect_ids = aspects_to_insert.map{|x| x.id}
aspects_to_insert.each do |aspect|
aspect << post
end