mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-25 01:40:27 +01:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6748013c65 | ||
|
|
6fc5d11e3a | ||
|
|
e7ecd0f1eb | ||
|
|
f95777f474 |
@@ -2,7 +2,7 @@
|
||||
"name": "nodebb",
|
||||
"license": "GPLv3 or later",
|
||||
"description": "NodeBB Forum",
|
||||
"version": "0.5.5",
|
||||
"version": "0.5.7",
|
||||
"homepage": "http://www.nodebb.org",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -116,7 +116,7 @@ module.exports = function(Posts) {
|
||||
deletePostFromUsersVotes(pid, next);
|
||||
},
|
||||
function(next) {
|
||||
db.sortedSetRemove('posts:pid', pid, next);
|
||||
db.sortedSetsRemove(['posts:pid', 'posts:flagged'], pid, next);
|
||||
},
|
||||
], function(err) {
|
||||
if (err) {
|
||||
|
||||
@@ -56,7 +56,7 @@ module.exports = function(User) {
|
||||
db.deleteObjectField('email:uid', userData.email.toLowerCase(), next);
|
||||
},
|
||||
function(next) {
|
||||
db.sortedSetsRemove(['users:joindate', 'users:postcount', 'users:reputation'], uid, next);
|
||||
db.sortedSetsRemove(['users:joindate', 'users:postcount', 'users:reputation', 'users:banned'], uid, next);
|
||||
},
|
||||
function(next) {
|
||||
var keys = [
|
||||
|
||||
Reference in New Issue
Block a user