Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnes committed Jun 26, 2023
1 parent 0ea7afc commit 2363851
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/server/levels.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,4 @@ Meteor.methods({

Levels.update(level._id, query)
},

increaseLevelVisits(levelId) {
if (!this.userId) return
check(levelId, Match.Id)

Levels.update({ _id: levelId, createdBy: { $ne: this.userId } }, { $inc: { visit: 1 } })
},
})

0 comments on commit 2363851

Please sign in to comment.