REFACTOR: Rename SiteSetting.disable_edit_notifications to disable_system_edit_notifications (#7958)

* REFACTOR: Rename SiteSetting.disable_edit_notifications to disable_system_edit_notifications

- The older name could cause some confusion because the setting does not disable all edit notifications, only system ones.

* FIX: Add frozen_string_literal: true in the migration

* DEV: Deprecate 'disable_edit_notifications'
This commit is contained in:
Rishabh
2019-07-31 20:20:41 +05:30
committed by GitHub
parent a49b7bb84a
commit dcb47d902b
38 changed files with 47 additions and 39 deletions

View File

@ -81,7 +81,7 @@ class ImportScripts::IpboardSQL < ImportScripts::Base
# if site is made available, don't let it get indexed
SiteSetting.allow_index_in_robots_txt = false
# don't notify users when images in their posts get downloaded
SiteSetting.disable_edit_notifications = true
SiteSetting.disable_system_edit_notifications = true
# SiteSetting.force_hostname='forum.dev1dev.com'
SiteSetting.title = "IPB Import"