1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-13 20:14:10 +02:00

refactor: remove dead code (#4385)

This commit is contained in:
Dag
2025-01-03 05:04:49 +01:00
committed by GitHub
parent 7c6d4a932c
commit c44a76ff17
33 changed files with 52 additions and 106 deletions

View File

@@ -28,7 +28,7 @@ class GlowficBridge extends BridgeAbstract
public function collectData()
{
$url = $this->getAPIURI();
$metadata = get_headers($url . '/replies', true) or returnClientError('Post did not return reply headers.');
$metadata = get_headers($url . '/replies', true);
$metadata['Last-Page'] = ceil($metadata['Total'] / $metadata['Per-Page']);
if (
!is_null($this->getInput('start_page')) &&