mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: roll up staff action wasn't working
This commit is contained in:
@@ -165,9 +165,9 @@ class StaffActionLogger
|
||||
}))
|
||||
end
|
||||
|
||||
def log_roll_up(subnets)
|
||||
def log_roll_up(subnets, opts={})
|
||||
UserHistory.create(params(opts).merge({
|
||||
action: UserHistory.action[:roll_up],
|
||||
action: UserHistory.actions[:roll_up],
|
||||
details: subnets.join(", ")
|
||||
}))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user