Fixed bad synchronization of files removed from another client; checked that conditio...
[pub/Android/ownCloud.git] / src / eu / alefzero / owncloud / syncadapter / FileSyncAdapter.java
index d14151a..3397836 100644 (file)
@@ -206,7 +206,7 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter {
             OCFile file;\r
             for (int i=0; i < files.size(); ) {\r
                 file = files.get(i);\r
-                if (file.getLastSyncDate() != mCurrentSyncTime && file.getLastSyncDate() != 0) {\r
+                if (file.getLastSyncDate() != mCurrentSyncTime) {\r
                     getStorageManager().removeFile(file);\r
                     files.remove(i);\r
                 } else {\r