[Pkg-owncloud-commits] [owncloud-client] 41/484: Remove dead code

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit cf9e5ffb0b4f26ae46b95b8bbab3edee512e4008
Author: Christian Kamm <mail at ckamm.de>
Date:   Fri Oct 2 15:17:19 2015 +0200

    Remove dead code
    
    no_recursive_propfind does not exist anymore.
---
 src/libsync/syncengine.cpp | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp
index 3d12eae..05a5357 100644
--- a/src/libsync/syncengine.cpp
+++ b/src/libsync/syncengine.cpp
@@ -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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list