getPidIndex socket call

v1.18.x
barisusakli 11 years ago
parent d67cd489cd
commit 347fc05376

@ -367,4 +367,8 @@ SocketPosts.getCategory = function(socket, pid, callback) {
posts.getCidByPid(pid, callback); posts.getCidByPid(pid, callback);
}; };
SocketPosts.getPidIndex = function(socket, pid, callback) {
posts.getPidIndex(pid, socket.uid, callback);
};
module.exports = SocketPosts; module.exports = SocketPosts;

Loading…
Cancel
Save