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) {