remove unneeded code
This commit is contained in:
parent
e3f82140d8
commit
b755279cf0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue