Revert "Implements repeat every X days since last completion (Fixes #6941) (#8962)"

This reverts commit 9d69d4b863.
This commit is contained in:
Sabe Jones
2017-11-09 22:13:34 +00:00
parent 69e0ab11c0
commit 3f92317b9e
6 changed files with 4 additions and 96 deletions

View File

@@ -306,7 +306,6 @@ export function cron (options = {}) {
if (dailiesDaysMissed > 1) dailiesDaysMissed = 1;
if (completed) {
task.lastCompleted = moment(now).subtract({days: 1}).toDate();
dailyChecked += 1;
if (!atLeastOneDailyDue) { // only bother checking until the first thing is found
let thatDay = moment(now).subtract({days: daysMissed});