Node.js based forum software built for the modern web
remove deprecated code
Barış Soner Uşaklı45cc30a91b3e
diff --git a/public/src/client/footer.js b/public/src/client/footer.jsindex 7bc187921e..53b9d334c0 100644--- a/public/src/client/footer.js+++ b/public/src/client/footer.js@@ -75,20 +75,6 @@ define('forum/footer', ['notifications', 'chat', 'components', 'translator'], fusocket.on('event:new_post', onNewPost);}- // DEPRECATED: remove in 1.8.0- if (app.user.uid) {- socket.emit('user.getUnreadCounts', function (err, data) {- if (err) {- return app.alert(err.message);- }-- updateUnreadCounters(data);-- updateUnreadChatCount(data.unreadChatCount);- Notifications.updateNotifCount(data.unreadNotificationCount);- });- }-function updateUnreadCounters(data) {updateUnreadTopicCount('/unread', data.unreadTopicCount);updateUnreadTopicCount('/unread/new', data.unreadNewTopicCount);