remove not so usefull log line for new files
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Mon, 30 Sep 2024 15:11:33 +0000 (17:11 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 1 Oct 2024 13:43:43 +0000 (15:43 +0200)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/discovery.cpp

index ad0c2f69ead4ec9f3026863b1f8f8cad79202eb0..138d1cc1ef6a910a49b7e72c563601e5c9541105 100644 (file)
@@ -549,13 +549,6 @@ void ProcessDirectoryJob::processFile(PathTuple path,
 
     qCInfo(lcDisco).nospace() << processingLog;
 
-    if (localEntry.isValid()
-        && !serverEntry.isValid()
-        && !dbEntry.isValid()
-        && localEntry.modtime < _lastSyncTimestamp) {
-        qCWarning(lcDisco) << "File" << path._original << "was modified before the last sync run and is not in the sync journal and server";
-    }
-
     if (_discoveryData->isRenamed(path._original)) {
         qCDebug(lcDisco) << "Ignoring renamed";
         return; // Ignore this.