public static void clearLogsOffline(final Collection<Geocache> caches) {
        DBLogOfflineUtils.remove(caches);
        CollectionStream.of(caches).forEach(c -> c.setHasLogOffline(false));
    }
Drop caches from the tables they are stored into, as well as the cache files

@param geocodes list of geocodes to drop from cache
main/src/main/java/cgeo/geocaching/storage/DataStore.java