aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/loaders/RemoveFromHistoryLoader.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/loaders/RemoveFromHistoryLoader.java')
-rw-r--r--main/src/cgeo/geocaching/loaders/RemoveFromHistoryLoader.java28
1 files changed, 0 insertions, 28 deletions
diff --git a/main/src/cgeo/geocaching/loaders/RemoveFromHistoryLoader.java b/main/src/cgeo/geocaching/loaders/RemoveFromHistoryLoader.java
deleted file mode 100644
index dc1a5df..0000000
--- a/main/src/cgeo/geocaching/loaders/RemoveFromHistoryLoader.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package cgeo.geocaching.loaders;
-
-import cgeo.geocaching.DataStore;
-import cgeo.geocaching.SearchResult;
-import cgeo.geocaching.enumerations.CacheType;
-import cgeo.geocaching.geopoint.Geopoint;
-import cgeo.geocaching.settings.Settings;
-
-import android.content.Context;
-
-public class RemoveFromHistoryLoader extends AbstractSearchLoader {
-
- private final String[] selected;
- private final Geopoint coords;
-
- public RemoveFromHistoryLoader(Context context, String[] selected, Geopoint coords) {
- super(context);
- this.selected = selected.clone();
- this.coords = coords;
- }
-
- @Override
- public SearchResult runSearch() {
- DataStore.clearVisitDate(selected);
- return DataStore.getHistoryOfCaches(true, coords != null ? Settings.getCacheType() : CacheType.ALL);
- }
-
-}