Skip to content

Node.js based forum software built for the modern web

remove unused settings

Barış Soner Uşaklıb84e13260162
diff --git a/src/user/settings.js b/src/user/settings.js
index df22ff5c42..df5ed93d71 100644
--- a/src/user/settings.js
+++ b/src/user/settings.js
@@ -120,8 +120,6 @@ module.exports = function (User) {
userLang: data.userLang || meta.config.defaultLang,
followTopicsOnCreate: data.followTopicsOnCreate,
followTopicsOnReply: data.followTopicsOnReply,
- sendChatNotifications: data.sendChatNotifications,
- sendPostNotifications: data.sendPostNotifications,
restrictChat: data.restrictChat,
topicSearchEnabled: data.topicSearchEnabled,
delayImageLoading: data.delayImageLoading,
diff --git a/src/views/admin/settings/user.tpl b/src/views/admin/settings/user.tpl
index 1d2042e97d..8b2528624e 100644
--- a/src/views/admin/settings/user.tpl
+++ b/src/views/admin/settings/user.tpl
@@ -278,20 +278,6 @@
</select>
</div>
- <div class="checkbox">
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
- <input class="mdl-switch__input" type="checkbox" data-field="sendChatNotifications">
- <span class="mdl-switch__label"><strong>[[admin/settings/user:email-chat-notifs]]</strong></span>
- </label>
- </div>
-
- <div class="checkbox">
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
- <input class="mdl-switch__input" type="checkbox" data-field="sendPostNotifications">
- <span class="mdl-switch__label"><strong>[[admin/settings/user:email-post-notif]]</strong></span>
- </label>
- </div>
-
<div class="checkbox">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
<input class="mdl-switch__input" type="checkbox" data-field="followTopicsOnCreate">