aboutsummaryrefslogtreecommitdiff
path: root/bridges/OMonlineBridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/OMonlineBridge.php')
-rw-r--r--bridges/OMonlineBridge.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/bridges/OMonlineBridge.php b/bridges/OMonlineBridge.php
index a434e44e..50e2726f 100644
--- a/bridges/OMonlineBridge.php
+++ b/bridges/OMonlineBridge.php
@@ -25,8 +25,7 @@ class OMonlineBridge extends BridgeAbstract
$url = sprintf('%s', self::URI);
}
- $html = getSimpleHTMLDOM($url)
- or returnServerError('Could not request: ' . $url);
+ $html = getSimpleHTMLDOM($url);
$html = defaultLinkTo($html, $url);
@@ -35,8 +34,7 @@ class OMonlineBridge extends BridgeAbstract
$articlePath = $a->href;
- $articlePageHtml = getSimpleHTMLDOMCached($articlePath, self::CACHE_TIMEOUT)
- or returnServerError('Could not request: ' . $articlePath);
+ $articlePageHtml = getSimpleHTMLDOMCached($articlePath, self::CACHE_TIMEOUT);
$articlePageHtml = defaultLinkTo($articlePageHtml, self::URI);