aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgData.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/cgData.java')
-rw-r--r--main/src/cgeo/geocaching/cgData.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/main/src/cgeo/geocaching/cgData.java b/main/src/cgeo/geocaching/cgData.java
index 19918a3..b3b2ad3 100644
--- a/main/src/cgeo/geocaching/cgData.java
+++ b/main/src/cgeo/geocaching/cgData.java
@@ -2427,23 +2427,6 @@ public class cgData {
Log.d("Database clean: finished");
}
- /**
- * Drop stored list by putting the caches in automatic mode (listId = 0)
- *
- * @param listId
- * the list id to remove the caches from
- */
- public void dropList(int listId) {
- init();
- try {
- final ContentValues values = new ContentValues();
- values.put("reason", StoredList.TEMPORARY_LIST_ID);
- databaseRW.update(dbTableCaches, values, "reason = ?", new String[] { Integer.toString(listId) });
- } catch (Exception e) {
- Log.e("cgData.dropList: error when updating reason", e);
- }
- }
-
public void removeAllFromCache() {
// clean up CacheCache
cacheCache.removeAllFromCache();