]> git.sur5r.net Git - contagged/blobdiff - inc/functions.php
Merge commit '0ca5fea0cc893684982894e474a00176853535e6' into cweiske
[contagged] / inc / functions.php
index add970ca8bcb73c58ac51673fedb40c84698e664..2032a037e9a888e57c3d4361d7fd85dbd5e557dd 100644 (file)
@@ -526,24 +526,3 @@ function get_fields_from_template($tpl){
     return $return;
 }
 
-function addCoords(&$coords, $entry, $geocoder)
-{
-    $priv = $geocoder->getPrivateCoords($entry);
-    if ($priv !== null) {
-        $priv->address = '<b>'
-            . $entry['givenname'] . ' ' . $entry['name'] . '</b><br/>'
-            . str_replace("\n", '<br/>', $entry['homestreet']);
-        $coords[] = $priv;
-    }
-
-    $busi = $geocoder->getBusinessCoords($entry);
-    if ($busi !== null) {
-        $busi->address = '<b>' . $entry['organization'] . '<br/>'
-            . $entry['givenname'] . ' ' . $entry['name'] . '</b><br/>'
-            . $entry['street'] . '<br/>'
-            . $entry['zip'] . ' ' . $entry['location'];
-        $coords[] = $busi;
-    }
-}
-
-?>