mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Drop unnecessary readonly_during_backup setting (#9112)
This commit is contained in:
parent
43b54c631d
commit
87687c0819
@ -1647,7 +1647,6 @@ en:
|
|||||||
discord_secret: "Discord Secret Key"
|
discord_secret: "Discord Secret Key"
|
||||||
discord_trusted_guilds: 'Only allow members of these Discord guilds to login via Discord. Use the numeric ID for the guild. For more information, check the instructions <a href="https://meta.discourse.org/t/configuring-discord-login-for-discourse/127129">here</a>. Leave blank to allow any guild.'
|
discord_trusted_guilds: 'Only allow members of these Discord guilds to login via Discord. Use the numeric ID for the guild. For more information, check the instructions <a href="https://meta.discourse.org/t/configuring-discord-login-for-discourse/127129">here</a>. Leave blank to allow any guild.'
|
||||||
|
|
||||||
readonly_mode_during_backup: "Enable read only mode while taking a backup"
|
|
||||||
enable_backups: "Allow administrators to create backups of the forum"
|
enable_backups: "Allow administrators to create backups of the forum"
|
||||||
allow_restore: "Allow restore, which can replace ALL site data! Leave false unless you plan to restore a backup"
|
allow_restore: "Allow restore, which can replace ALL site data! Leave false unless you plan to restore a backup"
|
||||||
maximum_backups: "The maximum amount of backups to keep on disk. Older backups are automatically deleted"
|
maximum_backups: "The maximum amount of backups to keep on disk. Older backups are automatically deleted"
|
||||||
|
@ -1649,8 +1649,6 @@ backups:
|
|||||||
enable_backups:
|
enable_backups:
|
||||||
default: true
|
default: true
|
||||||
client: true
|
client: true
|
||||||
readonly_mode_during_backup:
|
|
||||||
default: false
|
|
||||||
allow_restore:
|
allow_restore:
|
||||||
default: false
|
default: false
|
||||||
backup_location:
|
backup_location:
|
||||||
|
@ -106,7 +106,7 @@ module BackupRestore
|
|||||||
end
|
end
|
||||||
|
|
||||||
@logs = []
|
@logs = []
|
||||||
@readonly_mode_was_enabled = Discourse.readonly_mode? || !SiteSetting.readonly_mode_during_backup
|
@readonly_mode_was_enabled = Discourse.readonly_mode?
|
||||||
end
|
end
|
||||||
|
|
||||||
def listen_for_shutdown_signal
|
def listen_for_shutdown_signal
|
||||||
|
Loading…
Reference in New Issue
Block a user