1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-07 00:56:34 +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

@@ -105,10 +105,6 @@ class WikipediaBridge extends BridgeAbstract
// This will automatically send us to the correct main page in any language (try it!)
$html = getSimpleHTMLDOM($this->getURI() . '/wiki');
if (!$html) {
returnServerError('Could not load site: ' . $this->getURI() . '!');
}
/*
* Now read content depending on the language (make sure to create one function per language!)
* We build the function name automatically, just make sure you create a private function ending