diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2014-09-01 00:33:57 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2014-09-01 00:36:19 +0200 |
| commit | f1645c109f02d41ce76c0fd9b2ed226fa135f745 (patch) | |
| tree | f5d173b4e12cf0fb4214ee8270d1ef3d8ffa754f | |
| parent | e8b6d9c654d12e3d520e1de5fa3f0e697317ee46 (diff) | |
| download | cgeo-f1645c109f02d41ce76c0fd9b2ed226fa135f745.zip cgeo-f1645c109f02d41ce76c0fd9b2ed226fa135f745.tar.gz cgeo-f1645c109f02d41ce76c0fd9b2ed226fa135f745.tar.bz2 | |
No event cache can get a favorite point (#4287)
| -rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCConnector.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCConnector.java b/main/src/cgeo/geocaching/connector/gc/GCConnector.java index 50275f1..3b7c31e 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCConnector.java +++ b/main/src/cgeo/geocaching/connector/gc/GCConnector.java @@ -20,7 +20,6 @@ import cgeo.geocaching.connector.capability.ISearchByGeocode; import cgeo.geocaching.connector.capability.ISearchByKeyword; import cgeo.geocaching.connector.capability.ISearchByOwner; import cgeo.geocaching.connector.capability.ISearchByViewPort; -import cgeo.geocaching.enumerations.CacheType; import cgeo.geocaching.enumerations.StatusCode; import cgeo.geocaching.geopoint.Geopoint; import cgeo.geocaching.geopoint.Viewport; @@ -287,7 +286,7 @@ public class GCConnector extends AbstractConnector implements ISearchByGeocode, @Override public boolean supportsFavoritePoints(final Geocache cache) { - return cache.getType() != CacheType.CITO; + return !cache.getType().isEvent(); } @Override |
