aboutsummaryrefslogtreecommitdiff
path: root/bridges/GithubTrendingBridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/GithubTrendingBridge.php')
-rw-r--r--bridges/GithubTrendingBridge.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/GithubTrendingBridge.php b/bridges/GithubTrendingBridge.php
index 0b4a9078..e176d128 100644
--- a/bridges/GithubTrendingBridge.php
+++ b/bridges/GithubTrendingBridge.php
@@ -600,8 +600,7 @@ class GithubTrendingBridge extends BridgeAbstract {
$params = array('since' => urlencode($this->getInput('date_range')));
$url = self::URI . '/' . $this->getInput('language') . '?' . http_build_query($params);
- $html = getSimpleHTMLDOM($url)
- or returnServerError('Error while downloading the website content');
+ $html = getSimpleHTMLDOM($url);
$this->items = array();
foreach($html->find('.Box-row') as $element) {