1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-13 12:04:09 +02:00

refactor: drop usage of Debug::log (#4202)

* refactor: drop usage of Debug::log

* lint
This commit is contained in:
Dag
2024-08-08 04:31:47 +02:00
committed by GitHub
parent 6afd13eb06
commit 2acd415475
20 changed files with 37 additions and 105 deletions

View File

@@ -522,7 +522,7 @@ class ItakuBridge extends BridgeAbstract
{
$url = self::URI . '/api/commissions/' . $id . '/?format=json';
$uri = self::URI . '/commissions/' . $id;
// Debug::log(var_dump($metadata));
$data = $metadata ?? $this->getData($url, true, true)
or returnServerError("Could not load $url");
@@ -664,7 +664,6 @@ class ItakuBridge extends BridgeAbstract
private function getData(string $url, bool $cache = false, bool $getJSON = false, array $httpHeaders = [], array $curlOptions = [])
{
// Debug::log($url);
if ($getJSON) { //get JSON object
if ($cache) {
$data = $this->loadCacheValue($url);