Skip to content
Snippets Groups Projects
Unverified Commit a511c241 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Do not set all settings as hidden

parent f671fcd4
No related branches found
No related tags found
No related merge requests found
...@@ -246,6 +246,6 @@ RocketChat.settings.addGroup 'Logs', -> ...@@ -246,6 +246,6 @@ RocketChat.settings.addGroup 'Logs', ->
RocketChat.settings.init() RocketChat.settings.init()
# Remove runtime settings (non-persistent) # # Remove runtime settings (non-persistent)
Meteor.startup -> # Meteor.startup ->
RocketChat.models.Settings.update({ ts: { $lt: RocketChat.settings.ts }, persistent: { $ne: true } }, { $set: { hidden: true } }, { multi: true }) # RocketChat.models.Settings.update({ ts: { $lt: RocketChat.settings.ts }, persistent: { $ne: true } }, { $set: { hidden: true } }, { multi: true })
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment