mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 21:32:46 +08:00
In #33558 we removed automatic_backups_enabled setting, and instead rely on backup_frequency being blank to disable. There was a big oversight there with the site setting type system, which will coerce the value to an integer. It also makes it so you can't blank the value out in the UI. This is a "fix forward" solution where instead of "set to blank to disable" we do "set to 0 to disable". This works along the grain of the site setting type system for a workable fix where we don't have to deal with the irreversible migration in the previous change. We can potentially go and add in "nullable" to the type system at a later point. |
||
|---|---|---|
| .. | ||
| base.rb | ||
| discourse_merger.rb | ||
| generic_bulk.rb | ||
| phpbb_postgresql.rb | ||
| uploads_importer.rb | ||
| uploads_importer.yml | ||
| vanilla.rb | ||
| vbulletin.rb | ||
| vbulletin5.rb | ||