Index: /g-map/package.xml
===================================================================
--- /g-map/package.xml (revision 1503)
+++ /g-map/package.xml (revision 1513)
@@ -10,5 +10,5 @@
 		<packagedescription language="it"><![CDATA[Questo pacchetto aggiunge una mappa di Google sul tuo forum.]]></packagedescription>
 		<isunique>1</isunique>
-		<version>3.0.3</version>
+		<version>3.0.4</version>
 		<date>DATE</date>
 		<plugin>com.woltlab.wcf.page.user.profile</plugin>
@@ -47,4 +47,8 @@
 	</instructions>
 	
+	<instructions type="update" fromversion="3.0.3">
+		<files>files.tar</files>
+        </instructions>
+	
 	<instructions type="update" fromversion="3.0.2">
 		<files>files.tar</files>
Index: /g-map/files/lib/data/gmap/GmapApi.class.php
===================================================================
--- /g-map/files/lib/data/gmap/GmapApi.class.php (revision 1494)
+++ /g-map/files/lib/data/gmap/GmapApi.class.php (revision 1513)
@@ -8,34 +8,13 @@
  */
 class GmapApi extends DatabaseObject {
-	protected $apikey = null;
 	protected $cache_search = array();
 
 	/**
-	 * creates new instance
-	 */
-	public function __construct() {
-		$apikey = GMAP_API_KEY;
-		$apikey = explode("\n", StringUtil::unifyNewlines($apikey));
-		$apikey = $apikey[0];
-		$apikey = explode(":", $apikey);
-		
-		// this is the way, woltlab wants the users to enter their api key
-		if(count($apikey) == 2) {
-			$this->apikey = $apikey[1];
-		}
-
-		// this is the way, almost all of the woltlab users really enter their api key
-		else if(!empty($apikey)) {
-			$this->apikey = $apikey[0];
-		}
-	}
-
-	/**
 	 * is active? api key existent?
-	 *
+	 * @deprecated no api key needed any longer
 	 * @return	boolean
 	 */
 	public function isActive() {
-		return !empty($this->apikey);
+		return true;
 	}
 	
@@ -84,8 +63,4 @@
 	 */
 	public function search($location) {
-		if(!$this->isActive()) {
-			return;
-		}
-
 		if (CHARSET != 'UTF-8') {
 			$location = StringUtil::convertEncoding(CHARSET, 'UTF-8', $location);
@@ -97,5 +72,5 @@
 		}
 		
-		$url = "http://maps.google.com/maps/geo?q=".$lookupstring."&key=".$this->apikey."&output=csv";
+		$url = "http://maps.google.com/maps/geo?q=".$lookupstring."&output=csv";
 		
 		require_once(WCF_DIR.'lib/util/FileUtil.class.php');
