From c502e363dd7bc60744e5e6db270e0a7627ef217d Mon Sep 17 00:00:00 2001 From: kilida Date: Tue, 21 Jun 2016 18:15:17 -0400 Subject: [PATCH] Repeated subexpressions in class-wc-geo-ip.php Looks like these two can be removed, they are already on line 1303 and 1304 ``` || ( $this->databaseType == self::GEOIP_CITY_EDITION_REV0_V6 ) || ( $this->databaseType == self::GEOIP_CITY_EDITION_REV1_V6 ) ``` --- includes/class-wc-geo-ip.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/class-wc-geo-ip.php b/includes/class-wc-geo-ip.php index 09ae56ecde6..9f6d29d3d66 100644 --- a/includes/class-wc-geo-ip.php +++ b/includes/class-wc-geo-ip.php @@ -1310,8 +1310,6 @@ class WC_Geo_IP { || ( $this->databaseType == self::GEOIP_ISP_EDITION_V6 ) || ( $this->databaseType == self::GEOIP_LOCATIONA_EDITION ) || ( $this->databaseType == self::GEOIP_ACCURACYRADIUS_EDITION ) - || ( $this->databaseType == self::GEOIP_CITY_EDITION_REV0_V6 ) - || ( $this->databaseType == self::GEOIP_CITY_EDITION_REV1_V6 ) || ( $this->databaseType == self::GEOIP_NETSPEED_EDITION_REV1 ) || ( $this->databaseType == self::GEOIP_NETSPEED_EDITION_REV1_V6 ) || ( $this->databaseType == self::GEOIP_USERTYPE_EDITION )