diff --git a/app/assets/javascripts/discourse/controllers/preferences/interface.js.es6 b/app/assets/javascripts/discourse/controllers/preferences/interface.js.es6 index 6a7094886bf..002eaba949f 100644 --- a/app/assets/javascripts/discourse/controllers/preferences/interface.js.es6 +++ b/app/assets/javascripts/discourse/controllers/preferences/interface.js.es6 @@ -14,7 +14,6 @@ export default Ember.Controller.extend(PreferencesTabController, { 'enable_quoting', 'disable_jump_reply', 'automatically_unpin_topics', - 'allow_private_messages', ]; if (makeDefault) { diff --git a/app/assets/javascripts/discourse/controllers/preferences/notifications.js.es6 b/app/assets/javascripts/discourse/controllers/preferences/notifications.js.es6 index 8129641b5dc..bd9609b09a9 100644 --- a/app/assets/javascripts/discourse/controllers/preferences/notifications.js.es6 +++ b/app/assets/javascripts/discourse/controllers/preferences/notifications.js.es6 @@ -10,7 +10,8 @@ export default Ember.Controller.extend(PreferencesTabController, { 'new_topic_duration_minutes', 'auto_track_topics_after_msecs', 'notification_level_when_replying', - 'like_notification_frequency' + 'like_notification_frequency', + 'allow_private_messages', ], @computed("model.watchedCategories", "model.trackedCategories", "model.mutedCategories") diff --git a/app/assets/javascripts/discourse/templates/preferences/interface.hbs b/app/assets/javascripts/discourse/templates/preferences/interface.hbs index 5ea34031491..8e8d5852e90 100644 --- a/app/assets/javascripts/discourse/templates/preferences/interface.hbs +++ b/app/assets/javascripts/discourse/templates/preferences/interface.hbs @@ -10,16 +10,6 @@ {{/if}} -
- {{#if siteSettings.allow_user_locale}}