mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 09:17:01 +02:00
Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts: src/database.js
This commit is contained in:
@@ -47,4 +47,4 @@ SocketCategories.getTopicCount = function(socket, cid, callback) {
|
||||
categories.getCategoryField(cid, 'topic_count', callback);
|
||||
};
|
||||
|
||||
module.exports = SocketCategories;
|
||||
module.exports = SocketCategories;
|
||||
|
||||
@@ -319,4 +319,4 @@ function emitOnlineUserCount(callback) {
|
||||
|
||||
|
||||
/* Exporting */
|
||||
module.exports = Sockets;
|
||||
module.exports = Sockets;
|
||||
|
||||
@@ -111,4 +111,4 @@ SocketMeta.rooms.getAll = function(socket, data, callback) {
|
||||
|
||||
/* Exports */
|
||||
|
||||
module.exports = SocketMeta;
|
||||
module.exports = SocketMeta;
|
||||
|
||||
@@ -231,4 +231,4 @@ SocketModules.sounds.getMapping = function(socket, data, callback) {
|
||||
meta.sounds.getMapping(callback);
|
||||
};
|
||||
|
||||
module.exports = SocketModules;
|
||||
module.exports = SocketModules;
|
||||
|
||||
@@ -12,4 +12,4 @@ SocketNotifs.getCount = function(socket, data, callback) {
|
||||
user.notifications.getUnreadCount(socket.uid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketNotifs;
|
||||
module.exports = SocketNotifs;
|
||||
|
||||
@@ -318,4 +318,4 @@ SocketPosts.getCategory = function(socket, pid, callback) {
|
||||
posts.getCidByPid(pid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketPosts;
|
||||
module.exports = SocketPosts;
|
||||
|
||||
@@ -6,4 +6,4 @@ SocketTools.log = function(socket, data, callback) {
|
||||
//winston.info("captured console.log:", data)
|
||||
};
|
||||
|
||||
module.exports = SocketTools;
|
||||
module.exports = SocketTools;
|
||||
|
||||
@@ -313,4 +313,4 @@ SocketTopics.getTidIndex = function(socket, tid, callback) {
|
||||
categories.getTopicIndex(tid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketTopics;
|
||||
module.exports = SocketTopics;
|
||||
|
||||
@@ -248,4 +248,4 @@ SocketUser.setStatus = function(socket, status, callback) {
|
||||
|
||||
/* Exports */
|
||||
|
||||
module.exports = SocketUser;
|
||||
module.exports = SocketUser;
|
||||
|
||||
@@ -8,4 +8,4 @@ SocketWidgets.render = function(socket, data, callback) {
|
||||
widgets.render(socket.uid, data, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketWidgets;
|
||||
module.exports = SocketWidgets;
|
||||
|
||||
Reference in New Issue
Block a user