summaryrefslogtreecommitdiffstats
path: root/common/storage
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-20 00:19:08 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-20 00:19:08 +0100
commit5f7242abda42a1554dfa381a444979beb4c6d289 (patch)
treebcbd8c43ccf4528c047b9bb5de52c49a0e35d7bf /common/storage
parent44e3e7c5312e232c35403b5f8ad7cae0b4e6ddee (diff)
downloadsink-5f7242abda42a1554dfa381a444979beb4c6d289.tar.gz
sink-5f7242abda42a1554dfa381a444979beb4c6d289.zip
Cleanup
Diffstat (limited to 'common/storage')
-rw-r--r--common/storage/entitystore.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/storage/entitystore.cpp b/common/storage/entitystore.cpp
index 3b0d3c9..6d48c10 100644
--- a/common/storage/entitystore.cpp
+++ b/common/storage/entitystore.cpp
@@ -32,9 +32,7 @@
32#include "entity_generated.h" 32#include "entity_generated.h"
33#include "applicationdomaintype_p.h" 33#include "applicationdomaintype_p.h"
34 34
35#include "mail.h" 35#include "domaintypes.h"
36#include "folder.h"
37#include "event.h"
38 36
39using namespace Sink; 37using namespace Sink;
40using namespace Sink::Storage; 38using namespace Sink::Storage;
@@ -144,7 +142,6 @@ void EntityStore::copyBlobs(ApplicationDomain::ApplicationDomainType &entity, qi
144 const auto value = entity.getProperty(property); 142 const auto value = entity.getProperty(property);
145 if (value.canConvert<ApplicationDomain::BLOB>()) { 143 if (value.canConvert<ApplicationDomain::BLOB>()) {
146 const auto blob = value.value<ApplicationDomain::BLOB>(); 144 const auto blob = value.value<ApplicationDomain::BLOB>();
147 bool blobIsExternal = blob.isExternal;
148 //Any blob that is not part of the storage yet has to be moved there. 145 //Any blob that is not part of the storage yet has to be moved there.
149 if (blob.isExternal) { 146 if (blob.isExternal) {
150 auto oldPath = blob.value; 147 auto oldPath = blob.value;