v1.18.x
Barış Soner Uşaklı 8 years ago
parent 14f3907aa4
commit 17d0759672

@ -7,7 +7,6 @@ var privileges = require('../privileges');
var posts = require('../posts'); var posts = require('../posts');
module.exports = function (Groups) { module.exports = function (Groups) {
Groups.onNewPostMade = function (postData, callback) { Groups.onNewPostMade = function (postData, callback) {
if (!parseInt(postData.uid, 10)) { if (!parseInt(postData.uid, 10)) {
return setImmediate(callback); return setImmediate(callback);

@ -319,6 +319,5 @@ module.exports = function (Posts) {
db.sortedSetsRemove(keys, pid, next); db.sortedSetsRemove(keys, pid, next);
}, },
], callback); ], callback);
} }
}; };

Loading…
Cancel
Save