[Pkg-owncloud-commits] [owncloud-client] 26/89: If item is a directory, remove its contents from the database as well.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:31 UTC 2013
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 fc986b0ab8904d103665d86133a2679ab9ba7569
Author: Klaas Freitag <freitag at owncloud.com>
Date: Fri Dec 6 16:38:03 2013 +0100
If item is a directory, remove its contents from the database as well.
Fixes bug #1257
---
src/mirall/owncloudpropagator.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mirall/owncloudpropagator.cpp b/src/mirall/owncloudpropagator.cpp
index 7a412d0..974329f 100644
--- a/src/mirall/owncloudpropagator.cpp
+++ b/src/mirall/owncloudpropagator.cpp
@@ -187,7 +187,7 @@ void PropagateLocalRemove::start()
}
}
emit progress(Progress::StartDelete, _item, 0, _item._size);
- _propagator->_journal->deleteFileRecord(_item._originalFile);
+ _propagator->_journal->deleteFileRecord(_item._originalFile, _item._isDirectory);
_propagator->_journal->commit("Local remove");
done(SyncFileItem::Success);
emit progress(Progress::EndDelete, _item, _item._size, _item._size);
--
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