diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 08:25:42 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 08:25:42 +0100 |
commit | 4ee8a44bf4dda625b4d2f58f127869557c1af959 (patch) | |
tree | 67f8bf05e33cf86f0bd9061ddf5a6d5a0ba842bb /common | |
parent | 60b4e805d39f2ddb6316f739bdf730d04721fea2 (diff) | |
download | sink-4ee8a44bf4dda625b4d2f58f127869557c1af959.tar.gz sink-4ee8a44bf4dda625b4d2f58f127869557c1af959.zip |
Removed removeFromDisk
Diffstat (limited to 'common')
-rw-r--r-- | common/clientapi.cpp | 5 | ||||
-rw-r--r-- | common/clientapi.h | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/common/clientapi.cpp b/common/clientapi.cpp index b7dfb86..f67606e 100644 --- a/common/clientapi.cpp +++ b/common/clientapi.cpp | |||
@@ -190,11 +190,6 @@ KAsync::Job<void> Resources::start(const QByteArray &identifier) | |||
190 | }); | 190 | }); |
191 | } | 191 | } |
192 | 192 | ||
193 | void Store::removeFromDisk(const QByteArray &identifier) | ||
194 | { | ||
195 | removeDataFromDisk(identifier).exec().waitForFinished(); | ||
196 | } | ||
197 | |||
198 | KAsync::Job<void> Store::removeDataFromDisk(const QByteArray &identifier) | 193 | KAsync::Job<void> Store::removeDataFromDisk(const QByteArray &identifier) |
199 | { | 194 | { |
200 | //All databases are going to become invalid, nuke the environments | 195 | //All databases are going to become invalid, nuke the environments |
diff --git a/common/clientapi.h b/common/clientapi.h index 2c759f8..fb44ca2 100644 --- a/common/clientapi.h +++ b/common/clientapi.h | |||
@@ -94,11 +94,6 @@ KAsync::Job<void> SINK_EXPORT remove(const DomainType &domainObject); | |||
94 | KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); | 94 | KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); |
95 | 95 | ||
96 | /** | 96 | /** |
97 | * Removes a resource from disk. | ||
98 | */ | ||
99 | void SINK_EXPORT removeFromDisk(const QByteArray &resourceIdentifier); | ||
100 | |||
101 | /** | ||
102 | * Removes all resource data from disk. | 97 | * Removes all resource data from disk. |
103 | * | 98 | * |
104 | * This will not touch the configuration. All commands that that arrived at the resource before this command will be dropped. All commands that arrived later will be executed. | 99 | * This will not touch the configuration. All commands that that arrived at the resource before this command will be dropped. All commands that arrived later will be executed. |