From de4815df15909ecb7f86bef5f92a381cd239412f Mon Sep 17 00:00:00 2001 From: darksurfer Date: Tue, 12 Jun 2012 18:16:25 +0300 Subject: [PATCH] update lib/data/mongodb.js Sorry a pull request again to remove the line to correct setBoardSize function with mondoDB --- lib/data/mongodb.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/data/mongodb.js b/lib/data/mongodb.js index 59b357c..23a2127 100644 --- a/lib/data/mongodb.js +++ b/lib/data/mongodb.js @@ -164,7 +164,6 @@ db.prototype = { ); }, setBoardSize: function(room, size) { - this.room.findOne({name:room}) this.rooms.update( {name:room}, {$set:{'size':size}}