aboutsummaryrefslogtreecommitdiff
path: root/bridges/WikipediaBridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/WikipediaBridge.php')
-rw-r--r--bridges/WikipediaBridge.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/bridges/WikipediaBridge.php b/bridges/WikipediaBridge.php
index 28149d0f..0907db76 100644
--- a/bridges/WikipediaBridge.php
+++ b/bridges/WikipediaBridge.php
@@ -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