Clean up comments
This commit is contained in:
parent
b077429131
commit
4d97da6683
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user