From: Michael J. Rubinsky Date: Mon, 8 Jun 2009 13:43:16 +0000 (-0400) Subject: ..and remove debug code X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=81c002140a6e645587f413fa929448e210df0cf5;p=horde.git ..and remove debug code --- diff --git a/timeobjects/lib/Driver/Weatherdotcom.php b/timeobjects/lib/Driver/Weatherdotcom.php index e13213be4..e2ae2ae55 100644 --- a/timeobjects/lib/Driver/Weatherdotcom.php +++ b/timeobjects/lib/Driver/Weatherdotcom.php @@ -21,9 +21,7 @@ class TimeObjects_Driver_Weatherdotcom extends TimeObjects_Driver { if (empty($params['location'])) { // Try to get a good location string from Turba's "own" contact - $contact = $GLOBALS['registry']->contacts->ownVCard(); - var_dump($contact); - die; + $contact = $GLOBALS['registry']->contacts->ownContact(); $params['location'] = !empty($contact['homeCity']) ? $contact['homeCity'] . (!empty($contact['homeProvince']) ? ', ' . $contact['homeProvince'] : '')