Clean up comments

This commit is contained in:
José David Guillén 2022-01-13 22:31:07 +00:00
parent b077429131
commit 4d97da6683

View File

@ -107,7 +107,6 @@ class PriceNowProvider implements CollectionDataProviderInterface, RestrictedDat
$priceToday = $this->getPriceToday(); $priceToday = $this->getPriceToday();
if ( is_null($priceToday) ) { if ( is_null($priceToday) ) {
die('Internet');
// Get the today's price (from internet) // Get the today's price (from internet)
$url = 'https://api.esios.ree.es/archives/70/download_json?locale=es&date='.date('Y-m-d'); $url = 'https://api.esios.ree.es/archives/70/download_json?locale=es&date='.date('Y-m-d');
$data = file_get_contents($url); $data = file_get_contents($url);