Remove dead code
authorChristian Kamm <mail@ckamm.de>
Fri, 2 Oct 2015 13:17:19 +0000 (15:17 +0200)
committerChristian Kamm <mail@ckamm.de>
Fri, 2 Oct 2015 13:17:19 +0000 (15:17 +0200)
no_recursive_propfind does not exist anymore.

src/libsync/syncengine.cpp

index 3d12eaec5bc98e4e58ffab5e4245b95635624071..05a53578d505c7f9c2aab9d19b5f336fd8c9fc12 100644 (file)
@@ -654,14 +654,6 @@ void SyncEngine::startSync()
     auto selectiveSyncBlackList = _journal->getSelectiveSyncList(SyncJournalDb::SelectiveSyncBlackList);
     bool usingSelectiveSync = (!selectiveSyncBlackList.isEmpty());
     qDebug() << (usingSelectiveSync ? "====Using Selective Sync" : "====NOT Using Selective Sync");
-    if (fileRecordCount >= 0 && fileRecordCount < 50 && !usingSelectiveSync) {
-        qDebug() << "===== Activating recursive PROPFIND (currently" << fileRecordCount << "file records)";
-        bool no_recursive_propfind = false;
-        csync_set_module_property(_csync_ctx, "no_recursive_propfind", &no_recursive_propfind);
-    } else {
-        bool no_recursive_propfind = true;
-        csync_set_module_property(_csync_ctx, "no_recursive_propfind", &no_recursive_propfind);
-    }
 
     csync_set_userdata(_csync_ctx, this);
     _account->credentials()->syncContextPreStart(_csync_ctx);