remove unused param

This commit is contained in:
Matteo Pagliazzi 2017-09-07 14:35:47 +02:00
parent e54dcd2859
commit d9817be8f3

View file

@ -280,10 +280,10 @@ export default {
this.runYesterDailies(); this.runYesterDailies();
}, nextCronIn); }, nextCronIn);
}, },
async runYesterDailies (forceRun = false) { async runYesterDailies () {
// @TODO: Hopefully we don't need this even we load correctly // @TODO: Hopefully we don't need this even we load correctly
if (this.isRunningYesterdailies) return; if (this.isRunningYesterdailies) return;
if (!this.user.needsCron && !forceRun) { if (!this.user.needsCron) {
this.handleUserNotifications(this.user.notifications); this.handleUserNotifications(this.user.notifications);
this.scheduleNextCron(); this.scheduleNextCron();
return; return;