From 833aa0f738fe4559d2ecb5950dd22d21179df705 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 9 Jun 2014 12:51:49 -0400 Subject: [PATCH] derp --- src/posts.js | 2 ++ src/posts/delete.js | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 src/posts/delete.js diff --git a/src/posts.js b/src/posts.js index 51de423df0..5861a58042 100644 --- a/src/posts.js +++ b/src/posts.js @@ -24,6 +24,8 @@ var db = require('./database'), (function(Posts) { var customUserInfo = {}; + require('./posts/delete')(Posts); + Posts.create = function(data, callback) { var uid = data.uid, tid = data.tid, diff --git a/src/posts/delete.js b/src/posts/delete.js new file mode 100644 index 0000000000..72b420e107 --- /dev/null +++ b/src/posts/delete.js @@ -0,0 +1,9 @@ + + +module.exports = function(Posts) { + + Posts.delete = function(pid, callback) { + + }; + +}; \ No newline at end of file