Permalink
Browse files

Removed console.time logging

  • Loading branch information...
1 parent 7aa2549 commit f8f81a617fb1f4ef7698851d45ca8c58134e15b0 @JoshuaGross committed Nov 5, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/mongoose-subpopulate.js
@@ -199,7 +199,6 @@ var wrapSchema = exports.wrapSchema = function wrapSchema (schema) {
// TODO: sub-sub populate
var postExec = function postExec (err, result) {
if (result) {
- console.time('postExec');
async.forEach(schema.populateStack, function (path, iter) {
var splitPath = path.split('.');
var cursor = result;
@@ -225,7 +224,6 @@ var wrapSchema = exports.wrapSchema = function wrapSchema (schema) {
}
iter();
}, function () {
- console.timeEnd('postExec');
schema.populateStack = {};
wrapCallback(err, result);
});

0 comments on commit f8f81a6

Please sign in to comment.