1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-23 13:57:52 +00:00

no sync if last_sync == remote.last_sync

This commit is contained in:
nishiki 2016-07-01 09:15:39 +02:00
parent 19d0f749c8
commit 0238e75d36

View file

@ -336,6 +336,8 @@ class MPW
File.unlink(tmp_file) if File.exist?(tmp_file) File.unlink(tmp_file) if File.exist?(tmp_file)
return if remote.get_last_sync == get_last_sync
if not remote.to_s.empty? if not remote.to_s.empty?
@data.each do |item| @data.each do |item|
update = false update = false