mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
more cleanup
This commit is contained in:
@@ -104,18 +104,6 @@ function favouriteCommand(command, socket, data) {
|
||||
}
|
||||
}
|
||||
|
||||
SocketPosts.uploadImage = function(socket, data, callback) {
|
||||
if(data) {
|
||||
posts.uploadPostImage(data, callback);
|
||||
}
|
||||
};
|
||||
|
||||
SocketPosts.uploadFile = function(socket, data, callback) {
|
||||
if(data) {
|
||||
posts.uploadPostFile(data, callback);
|
||||
}
|
||||
};
|
||||
|
||||
SocketPosts.getRawPost = function(socket, pid, callback) {
|
||||
posts.getPostFields(pid, ['content', 'deleted'], function(err, data) {
|
||||
if(err) {
|
||||
|
||||
Reference in New Issue
Block a user