mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:34:09 +08:00
e8474bd725
This changes the use of the || operator when setting the default of the user attribute if the key does not exist to #fetch. This will make sure that if false is passed in as the value it will still fail and use the default setting. This also adds constants to define and array and a hash of symbols which is iterated over to set the users attributes. |
||
---|---|---|
.. | ||
spam_rule | ||
group_message.rb | ||
spam_rules_enforcer.rb | ||
staff_action_logger.rb | ||
tracked_topics_updater.rb | ||
uri_adapter.rb | ||
user_activator.rb | ||
user_authenticator.rb | ||
user_blocker.rb | ||
user_updater.rb | ||
username_checker_service.rb |