mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
add username/email to user-delete event
This commit is contained in:
@@ -237,7 +237,7 @@ describe('Upload Controllers', function () {
|
||||
|
||||
user.delete(1, uid, next);
|
||||
},
|
||||
function (next) {
|
||||
function (userData, next) {
|
||||
var filePath = path.join(nconf.get('upload_path'), url.replace('/assets/uploads', ''));
|
||||
file.exists(filePath, next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user