mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-08 09:36:39 +02:00
refactor: drop usage of Debug::log (#4202)
* refactor: drop usage of Debug::log * lint
This commit is contained in:
@@ -138,8 +138,6 @@ class JustETFBridge extends BridgeAbstract
|
||||
|
||||
date_time_set($df, 0, 0);
|
||||
|
||||
// Debug::log(date_format($df, 'U'));
|
||||
|
||||
return date_format($df, 'U');
|
||||
}
|
||||
|
||||
@@ -216,8 +214,6 @@ class JustETFBridge extends BridgeAbstract
|
||||
$element = $article->find('div.subheadline', 0)
|
||||
or returnServerError('Date not found!');
|
||||
|
||||
// Debug::log($element->plaintext);
|
||||
|
||||
$date = trim(explode('|', $element->plaintext)[0]);
|
||||
|
||||
return $this->fixDate($date);
|
||||
@@ -230,8 +226,6 @@ class JustETFBridge extends BridgeAbstract
|
||||
|
||||
$element->find('a', 0)->onclick = '';
|
||||
|
||||
// Debug::log($element->innertext);
|
||||
|
||||
return $element->innertext;
|
||||
}
|
||||
|
||||
@@ -300,8 +294,6 @@ class JustETFBridge extends BridgeAbstract
|
||||
$element = $html->find('div.infobox div.vallabel', 0)
|
||||
or returnServerError('Date not found!');
|
||||
|
||||
// Debug::log($element->plaintext);
|
||||
|
||||
$date = trim(explode("\r\n", $element->plaintext)[1]);
|
||||
|
||||
return $this->fixDate($date);
|
||||
|
Reference in New Issue
Block a user