only save last action when sending to wakatime-cli

This commit is contained in:
Alan Hamlett 2014-02-28 18:46:03 -08:00
parent f7138be15f
commit 0788628b95
1 changed files with 0 additions and 4 deletions

View File

@ -126,10 +126,6 @@ let s:VERSION = '1.5.2'
let last = s:GetLastAction()
if s:EnoughTimePassed(now, last) || targetFile != last[2]
call s:Api(targetFile, now, 0, last)
else
if now - last[1] > 5
call s:SetLastAction(last[0], now, targetFile)
endif
endif
endfunction