Skip to content

Commit

Permalink
Merge pull request #990 from mitar/patch-1
Browse files Browse the repository at this point in the history
Not needed query
  • Loading branch information
rodrigok committed Oct 3, 2015
2 parents c10fbe3 + a6b0c41 commit 32b4834
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/publications/fullUserData.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ Meteor.publish 'fullUserData', (filter, limit) ->
unless @userId
return @ready()

user = RocketChat.models.Users.findOneById @userId

fields =
name: 1
username: 1
Expand Down

0 comments on commit 32b4834

Please sign in to comment.