diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-04 10:36:58 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-04 10:36:58 +0100 |
commit | 59aa460cf704d5f1a1fb1fe6b8ede4457da083ff (patch) | |
tree | d1cf394099e4897d2b8abf6817191c488c754667 /common/storage | |
parent | 41006b5cab7b0260f8abc42aa2d2e959a013764e (diff) | |
download | sink-59aa460cf704d5f1a1fb1fe6b8ede4457da083ff.tar.gz sink-59aa460cf704d5f1a1fb1fe6b8ede4457da083ff.zip |
Copy command and proper move
Diffstat (limited to 'common/storage')
-rw-r--r-- | common/storage/entitystore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp index b6251b6..1417861 100644 --- a/common/storage/entitystore.cpp +++ b/common/storage/entitystore.cpp | |||
@@ -239,11 +239,11 @@ bool EntityStore::remove(const QByteArray &type, const QByteArray &uid, bool rep | |||
239 | [](const DataStore::Error &error) { SinkWarning() << "Failed to read old revision from storage: " << error.message; }); | 239 | [](const DataStore::Error &error) { SinkWarning() << "Failed to read old revision from storage: " << error.message; }); |
240 | 240 | ||
241 | if (!found) { | 241 | if (!found) { |
242 | SinkWarning() << "Failed to find entity " << uid; | 242 | SinkWarning() << "Remove: Failed to find entity " << uid; |
243 | return false; | 243 | return false; |
244 | } | 244 | } |
245 | if (alreadyRemoved) { | 245 | if (alreadyRemoved) { |
246 | SinkWarning() << "Entity is already removed " << uid; | 246 | SinkWarning() << "Remove: Entity is already removed " << uid; |
247 | return false; | 247 | return false; |
248 | } | 248 | } |
249 | 249 | ||