Skip to content
Snippets Groups Projects
Commit 25791af0 authored by Andriy Podanenko http://druler.com's avatar Andriy Podanenko http://druler.com
Browse files

Issue #1991048 by podarok | md2: Remove API key check in D6 branches.

parent a58c4323
No related branches found
Tags 6.x-2.0-beta3
No related merge requests found
......@@ -878,11 +878,6 @@ function theme_gmap_align($element) {
* Gmap element theme hook
*/
function theme_gmap($element) {
// Usability: Prevent js errors on first visit to settings page, etc.
// Of course it will still error if the *wrong* key is on file.
if (gmap_get_key() == '') {
return t('Unable to render map: Google Maps API key is missing.');
}
// Track the mapids we've used already.
static $mapids = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment