mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 13:05:38 +08:00
include all groups in user csv export
This commit is contained in:
parent
f959bf7d93
commit
8b56c16e14
@ -44,7 +44,7 @@ module Jobs
|
||||
|
||||
def get_group_names(user)
|
||||
group_names = []
|
||||
groups = user.custom_groups
|
||||
groups = user.groups
|
||||
groups.each do |group|
|
||||
group_names.push(group.name)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user