added back missing next(), @baris

v1.18.x
Julian Lam 8 years ago
parent 20d035bdac
commit 8eb47e1987

@ -101,7 +101,7 @@ module.exports = function (SocketUser) {
}, next);
},
function (next) {
plugins.fireHook('action:user.removeUploadedPicture', {callerUid: socket.uid, uid: data.uid});
plugins.fireHook('action:user.removeUploadedPicture', {callerUid: socket.uid, uid: data.uid}, next);
}
], callback);
};

Loading…
Cancel
Save