Skip to content

Commit 7834bf2

Browse files
committed
Removed debug code, refs #1.
1 parent 61476ae commit 7834bf2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Util.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ public function __construct($query, $units = 'imperial', $lang = 'en', $appid =
6969
throw new OpenWeatherMap_Exception('Unknown fatal error: OpenWeatherMap returned the following json object: ' . print_r($error));
7070
}
7171
}
72-
// Check for errors.
73-
$errors = libxml_get_errors();
74-
print_r($errors);
7572

7673
$this->city = new _City($xml->city['id'], $xml->city['name'], $xml->city->coord['lon'], $xml->city->coord['lat'], $xml->city->country);
7774
$this->temperature = new _Temperature(new _Unit($xml->temperature['value'], $xml->temperature['unit']), new _Unit($xml->temperature['min'], $xml->temperature['unit']), new _Unit($xml->temperature['max'], $xml->temperature['unit']));

0 commit comments

Comments
 (0)