mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
ESlint no-undef, remove global comments
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = function (Messaging) {
|
||||
|
||||
Messaging.pushUnreadCount = function (uid) {
|
||||
if (!parseInt(uid, 10)) {
|
||||
return callback(null, 0);
|
||||
return;
|
||||
}
|
||||
Messaging.getUnreadCount(uid, function (err, unreadCount) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user