lastCron typo

This commit is contained in:
Tyler Renelle
2013-02-05 21:52:06 -05:00
parent b6e7ebb6ca
commit 77eb2d98e3
+1 -1
View File
@@ -188,7 +188,7 @@ score = (taskId, direction, times, batch, cron) ->
###
cron = (resetDom_cb) ->
today = +new Date
daysPassed = helpers.daysBetween(today, user.get('privlastCron'))
daysPassed = helpers.daysBetween(today, user.get('lastCron'))
if daysPassed > 0
batch = new schema.BatchUpdate(model)
batch.startTransaction()