From 81c002140a6e645587f413fa929448e210df0cf5 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 8 Jun 2009 09:43:16 -0400 Subject: [PATCH] ..and remove debug code --- timeobjects/lib/Driver/Weatherdotcom.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'] : '') -- 2.11.0