diff --git a/src/digest.js b/src/digest.js index f74f2295d..be6332113 100644 --- a/src/digest.js +++ b/src/digest.js @@ -31,7 +31,7 @@ function maybeSend(callback) { appstore.getSubscription(function (error, result) { if (error) debug('Error getting subscription:', error); - var hasSubscription = result && result.plan.id !== 'free' && result.plan.id !== 'undecided'; + var hasSubscription = result && result.plan.id !== 'free'; eventlog.getByCreationTime(new Date(new Date() - 7*86400000), function (error, events) { if (error) return callback(error); diff --git a/src/updatechecker.js b/src/updatechecker.js index 61dcc960a..02548f91a 100644 --- a/src/updatechecker.js +++ b/src/updatechecker.js @@ -105,7 +105,7 @@ function checkAppUpdates(callback) { } // always send notifications if user is on the free plan - if (result.plan.id === 'free' || result.plan.id === 'undecided') { + if (result.plan.id === 'free') { debug('Notifying user of app update for %s from %s to %s', app.id, app.manifest.version, updateInfo.manifest.version); mailer.appUpdateAvailable(app, false /* subscription */, updateInfo); return iteratorDone(); @@ -162,7 +162,7 @@ function checkBoxUpdates(callback) { } // always send notifications if user is on the free plan - if (result.plan.id === 'free' || result.plan.id === 'undecided') { + if (result.plan.id === 'free') { mailer.boxUpdateAvailable(false /* hasSubscription */, updateInfo.version, updateInfo.changelog); return done(); }