Commit d1d80c97 authored by Curtis Adam's avatar Curtis Adam

Don't add the server account to total user stats

parent b43db170
......@@ -32,9 +32,9 @@ if (Meteor.isServer) {
Counts.publish(this, 'cardsetsProCounter', Cardsets.find({kind: "pro", shuffled: false}), {fastCount: true});
Counts.publish(this, 'repetitoriumProCounter', Cardsets.find({kind: "pro", shuffled: true}), {fastCount: true});
Counts.publish(this, 'wordcloudProCounter', Cardsets.find({kind: "pro", wordcloud: true}), {fastCount: true});
Counts.publish(this, 'userProCounter', Meteor.users.find({_id: {$nin: ['NotificationsTestUser']}, roles: {$in: ["pro"]}}), {fastCount: true});
Counts.publish(this, 'userProCounter', Meteor.users.find({_id: {$nin: ['NotificationsTestUser', '.cards']}, roles: {$in: ["pro"]}}), {fastCount: true});
}
Counts.publish(this, 'userCounter', Meteor.users.find({_id: {$nin: ['NotificationsTestUser']}}), {fastCount: true});
Counts.publish(this, 'userCounter', Meteor.users.find({_id: {$nin: ['NotificationsTestUser', '.cards']}}), {fastCount: true});
Counts.publish(this, 'userOnlineCounter', Meteor.users.find({'status.online': true}), {fastCount: true});
});
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment