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

fix bug in sync

This commit is contained in:
nishiki 2015-05-11 19:31:51 +02:00
parent 3da68967f9
commit 59395ce7db

View file

@ -93,7 +93,7 @@ module MPW
end
# Remove an old item
if item.last_sync.to_i < @config.last_sync
if item.last_sync.to_i < @config.last_sync and item.last_edit < @config.last_sync
item.delete
end
end