summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/clientapi.cpp5
-rw-r--r--common/clientapi.h5
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
193void Store::removeFromDisk(const QByteArray &identifier)
194{
195 removeDataFromDisk(identifier).exec().waitForFinished();
196}
197
198KAsync::Job<void> Store::removeDataFromDisk(const QByteArray &identifier) 193KAsync::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);
94KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); 94KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query);
95 95
96/** 96/**
97 * Removes a resource from disk.
98 */
99void 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.