From 20196a93831b2f31b1a4ca4ab438da4c09d56872 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 14 Jun 2013 16:09:55 -0400 Subject: [PATCH] preen-cron: remove the date, it's not a migration but a cron script --- migrations/{20130212_preen_cron.js => preen_cron.js} | 6 ------ 1 file changed, 6 deletions(-) rename migrations/{20130212_preen_cron.js => preen_cron.js} (90%) diff --git a/migrations/20130212_preen_cron.js b/migrations/preen_cron.js similarity index 90% rename from migrations/20130212_preen_cron.js rename to migrations/preen_cron.js index ac3b1e9e44..b514643973 100644 --- a/migrations/20130212_preen_cron.js +++ b/migrations/preen_cron.js @@ -15,12 +15,6 @@ var un_registered = { "auth.local": {$exists: false}, "auth.facebook": {$exists: false} }, - registered = { - $or: [ - { 'auth.local': { $exists: true }}, - { 'auth.facebook': { $exists: true }} - ] - }, today = +new Date; db.users.find(un_registered).forEach(function(user) {