Skip to content

Commit

Permalink
Remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Aug 22, 2024
1 parent b1504de commit 82ae104
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/SimplePie.php
Original file line number Diff line number Diff line change
Expand Up @@ -1983,12 +1983,10 @@ protected function fetch_data(&$cache)
if (isset($file)) { // FreshRSS
$hash = $this->clean_hash($file->get_body_content());
if (($this->data['hash'] ?? null) === $hash) {
syslog(LOG_DEBUG, 'SimplePie hash cache match for ' . Misc::url_remove_credentials($this->feed_url));
$this->data['headers'] = $file->get_headers();
$cache->set_data($cacheKey, $this->data, $this->cache_duration);
return true; // Content unchanged even though server did not send a 304
} else {
syslog(LOG_DEBUG, 'SimplePie hash cache no match for ' . Misc::url_remove_credentials($this->feed_url));
$this->data['hash'] = $hash;
}
}
Expand Down

0 comments on commit 82ae104

Please sign in to comment.