Review updates

update renamed and moved functions
This commit is contained in:
Adam Magness 2018-01-27 11:23:04 -05:00
parent ca3c45101e
commit f151406355
19 changed files with 37 additions and 36 deletions

View file

@ -32,7 +32,7 @@ function getWeather( $loc, $units='metric', $lang='en', $appid='', $cachetime=0)
}
}
try {
$res = new SimpleXMLElement(Network::fetchURL($url));
$res = new SimpleXMLElement(Network::fetchUrl($url));
} catch (Exception $e) {
info(L10n::t('Error fetching weather data.\nError was: '.$e->getMessage()));
return false;