Skip to content

Node.js based forum software built for the modern web

Update delete.js

Barış Soner Uşaklı9f5893bc83b4
diff --git a/src/user/delete.js b/src/user/delete.js
index e73c47ae72..319d2058e2 100644
--- a/src/user/delete.js
+++ b/src/user/delete.js
@@ -1,4 +1,3 @@
-
'use strict';
var async = require('async'),
@@ -250,6 +249,9 @@ module.exports = function(User) {
function(next) {
db.delete('uid:' + uid + ':favourites', next);
},
+ function(next) {
+ db.delete('user:' + uid + ':settings', next);
+ },
function(next) {
db.delete('uid:' + uid + ':topics', next);
},
@@ -320,4 +322,4 @@ module.exports = function(User) {
}, callback);
});
}
-};
\ No newline at end of file
+};