diff options
-rw-r--r-- | dummyresource/facade.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dummyresource/facade.cpp b/dummyresource/facade.cpp index 04bf5b3..949b4c4 100644 --- a/dummyresource/facade.cpp +++ b/dummyresource/facade.cpp | |||
@@ -212,9 +212,6 @@ Async::Job<void> DummyResourceFacade::load(const Akonadi2::Query &query, const s | |||
212 | }); | 212 | }); |
213 | } | 213 | } |
214 | 214 | ||
215 | //We start a transaction explicitly that we'll leave open so the values can be read. | ||
216 | //The transaction will be closed automatically once the storage object is destroyed. | ||
217 | storage->startTransaction(Akonadi2::Storage::ReadOnly); | ||
218 | if (keys.isEmpty()) { | 215 | if (keys.isEmpty()) { |
219 | Log() << "Executing a full scan"; | 216 | Log() << "Executing a full scan"; |
220 | readValue(storage, QByteArray(), resultCallback, preparedQuery); | 217 | readValue(storage, QByteArray(), resultCallback, preparedQuery); |