Skip to content

Commit

Permalink
update lib/data/mongodb.js
Browse files Browse the repository at this point in the history
Sorry a pull request again to remove the line to correct setBoardSize function with mondoDB
  • Loading branch information
Waateur committed Jun 12, 2012
1 parent a1973a4 commit de4815d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/data/mongodb.js
Expand Up @@ -164,7 +164,6 @@ db.prototype = {
); );
}, },
setBoardSize: function(room, size) { setBoardSize: function(room, size) {
this.room.findOne({name:room})
this.rooms.update( this.rooms.update(
{name:room}, {name:room},
{$set:{'size':size}} {$set:{'size':size}}
Expand Down

0 comments on commit de4815d

Please sign in to comment.