mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
removed unused functions
This commit is contained in:
@@ -268,15 +268,6 @@ SocketPosts.getUpvoters = function(socket, pid, callback) {
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
SocketPosts.getPidPage = function(socket, pid, callback) {
|
||||
posts.getPidPage(pid, socket.uid, callback);
|
||||
};
|
||||
|
||||
SocketPosts.getPidIndex = function(socket, pid, callback) {
|
||||
posts.getPidIndex(pid, callback);
|
||||
};
|
||||
|
||||
SocketPosts.flag = function(socket, pid, callback) {
|
||||
if (!socket.uid) {
|
||||
return callback(new Error('[[error:not-logged-in]]'));
|
||||
|
||||
Reference in New Issue
Block a user