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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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