aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/LogCacheActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/LogCacheActivity.java')
-rw-r--r--main/src/cgeo/geocaching/LogCacheActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/LogCacheActivity.java b/main/src/cgeo/geocaching/LogCacheActivity.java
index e4d3d17..62c94ce 100644
--- a/main/src/cgeo/geocaching/LogCacheActivity.java
+++ b/main/src/cgeo/geocaching/LogCacheActivity.java
@@ -368,7 +368,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia
}
private void clearLog() {
- cgData.clearLogOffline(geocode);
+ cache.clearOfflineLog();
setDefaultValues();
@@ -533,7 +533,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia
}
cgData.saveChangedCache(cache);
- cgData.clearLogOffline(geocode);
+ cache.clearOfflineLog();
if (typeSelected == LogType.FOUND_IT) {
if (tweetCheck.isChecked() && tweetBox.getVisibility() == View.VISIBLE) {