Index: trunk/extensions/Maps/Maps_Mapper.php |
— | — | @@ -90,17 +90,7 @@ |
91 | 91 | // If they don't, a fatal error will occur later on. |
92 | 92 | if ( $shouldChange ) { |
93 | 93 | if ( array_key_exists( $feature, $egMapsDefaultServices ) ) { |
94 | | - if ( is_array( $egMapsDefaultServices[$feature] ) ) { |
95 | | - if ( array_key_exists( $subfeature, $egMapsDefaultServices[$feature] ) ) { |
96 | | - $service = $egMapsDefaultServices[$feature][$subfeature]; |
97 | | - } |
98 | | - else { |
99 | | - $service = $egMapsDefaultService; |
100 | | - } |
101 | | - } |
102 | | - else { |
103 | | - $service = $egMapsDefaultServices[$feature]; |
104 | | - } |
| 94 | + $service = $egMapsDefaultServices[$feature]; |
105 | 95 | } |
106 | 96 | else { |
107 | 97 | $service = $egMapsDefaultService; |
Index: trunk/extensions/Maps/Maps_Settings.php |
— | — | @@ -92,10 +92,8 @@ |
93 | 93 | # Each service needs to be enabled, if not, the first one from the available services will be taken. |
94 | 94 | # Note: The default service needs to be available for the feature you set it for, since it's used as a fallback mechanism. |
95 | 95 | $egMapsDefaultServices = array( |
96 | | - 'pf' => array( |
97 | | - 'display_point' => 'googlemaps2', |
98 | | - 'display_map' => 'googlemaps2' |
99 | | - ) |
| 96 | + 'display_point' => 'googlemaps2', |
| 97 | + 'display_map' => 'googlemaps2' |
100 | 98 | ); |
101 | 99 | |
102 | 100 | |