mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Internal renaming of elder,leader,regular,basic to numbers
Changed internals so trust levels are referred to with TrustLevel[1], TrustLevel[2] etc. This gives us much better flexibility naming trust levels, these names are meant to be controlled by various communities.
This commit is contained in:
@ -98,7 +98,7 @@ class ImportScripts::Vanilla < ImportScripts::Base
|
||||
}
|
||||
|
||||
# if @comments.select { |c| c[:insert_user_id] == user[:user_id] }.map { |c| c[:discussion_id] }.uniq.count > 3
|
||||
# u[:trust_level] = TrustLevel.levels[:regular]
|
||||
# u[:trust_level] = TrustLevel[2]
|
||||
# end
|
||||
|
||||
u
|
||||
|
Reference in New Issue
Block a user