remove unneeded code

This commit is contained in:
Arpit Jalan 2017-04-27 08:47:47 +05:30
parent e3f82140d8
commit b755279cf0
1 changed files with 0 additions and 1 deletions

View File

@ -35,7 +35,6 @@ class Admin::GroupsController < Admin::AdminController
id
end
invalid_users = users.reject! { |u| valid_emails[u] || valid_usernames[u] }
valid_users.flatten!
group.bulk_add(valid_users) if valid_users.present?
users_added = valid_users.count
end