From 4ee8a44bf4dda625b4d2f58f127869557c1af959 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 10 Feb 2016 08:25:42 +0100 Subject: Removed removeFromDisk --- common/clientapi.cpp | 5 ----- common/clientapi.h | 5 ----- 2 files changed, 10 deletions(-) (limited to 'common') 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 Resources::start(const QByteArray &identifier) }); } -void Store::removeFromDisk(const QByteArray &identifier) -{ - removeDataFromDisk(identifier).exec().waitForFinished(); -} - KAsync::Job Store::removeDataFromDisk(const QByteArray &identifier) { //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 @@ -93,11 +93,6 @@ KAsync::Job SINK_EXPORT remove(const DomainType &domainObject); */ KAsync::Job SINK_EXPORT synchronize(const Sink::Query &query); -/** - * Removes a resource from disk. - */ -void SINK_EXPORT removeFromDisk(const QByteArray &resourceIdentifier); - /** * Removes all resource data from disk. * -- cgit v1.2.3