diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-05 17:48:41 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-05 17:48:41 +0200 |
commit | 0acbe51f75bd1791b30d43e337c15e50680ae8c5 (patch) | |
tree | 7592ff49285085223453f2e0789632b315051cf5 /examples/maildirresource/maildirresource.cpp | |
parent | b135813110db7de8625bd2902e49afd971af9756 (diff) | |
download | sink-0acbe51f75bd1791b30d43e337c15e50680ae8c5.tar.gz sink-0acbe51f75bd1791b30d43e337c15e50680ae8c5.zip |
These checks are no longer necessary
Diffstat (limited to 'examples/maildirresource/maildirresource.cpp')
-rw-r--r-- | examples/maildirresource/maildirresource.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/maildirresource/maildirresource.cpp b/examples/maildirresource/maildirresource.cpp index 18f8334..9800f7f 100644 --- a/examples/maildirresource/maildirresource.cpp +++ b/examples/maildirresource/maildirresource.cpp | |||
@@ -289,9 +289,6 @@ public: | |||
289 | // auto remoteIds = synchronizationTransaction.openDatabase("rid.mapping." + bufferType, std::function<void(const Sink::Storage::Error &)>(), true); | 289 | // auto remoteIds = synchronizationTransaction.openDatabase("rid.mapping." + bufferType, std::function<void(const Sink::Storage::Error &)>(), true); |
290 | auto mainDatabase = Sink::Storage::mainDatabase(transaction(), bufferType); | 290 | auto mainDatabase = Sink::Storage::mainDatabase(transaction(), bufferType); |
291 | mainDatabase.scan("", [&](const QByteArray &key, const QByteArray &) { | 291 | mainDatabase.scan("", [&](const QByteArray &key, const QByteArray &) { |
292 | if (Sink::Storage::isInternalKey(key)) { | ||
293 | return true; | ||
294 | } | ||
295 | callback(key); | 292 | callback(key); |
296 | return true; | 293 | return true; |
297 | }); | 294 | }); |