mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 09:35:57 +02:00
refactor: remove dead code (#4385)
This commit is contained in:
parent
7c6d4a932c
commit
c44a76ff17
33 changed files with 52 additions and 106 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue