Skip to content

Node.js based forum software built for the modern web

disabled 2 calls

barisusakli3f96532c3f28
diff --git a/src/topics/unread.js b/src/topics/unread.js
index 7ad5a5e709..548ea0ed93 100644
--- a/src/topics/unread.js
+++ b/src/topics/unread.js
@@ -157,6 +157,7 @@ module.exports = function(Topics) {
}
Topics.pushUnreadCount = function(uids, callback) {
+ return;
var websockets = require('./../socket.io');
if (!uids) {
diff --git a/src/user/notifications.js b/src/user/notifications.js
index b3b1055222..c50b854560 100644
--- a/src/user/notifications.js
+++ b/src/user/notifications.js
@@ -269,6 +269,7 @@ var async = require('async'),
UserNotifications.sendPostNotificationToFollowers = function(uid, tid, pid) {
+ return;
db.getSetMembers('followers:' + uid, function(err, followers) {
if (err || !followers || !followers.length) {
return;