From 746119bd45cce2003379d4a004cda839def41e5b Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Thu, 5 Dec 2013 21:45:21 -0500 Subject: [PATCH] remove dataFileVersion it breaks templates --- src/database/mongo.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/database/mongo.js b/src/database/mongo.js index 0c7552ff2f..149741d715 100644 --- a/src/database/mongo.js +++ b/src/database/mongo.js @@ -130,6 +130,10 @@ module.info = function(callback) { db.stats({scale:1024}, function(err, stats) { + // TODO : if this it not deleted the templates break, + // it is a nested object inside stats + delete stats.dataFileVersion; + stats.avgObjSize = (stats.avgObjSize / 1024).toFixed(2); stats.raw = JSON.stringify(stats, null, 4);