aboutsummaryrefslogtreecommitdiff
path: root/bridges/GithubSearchBridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/GithubSearchBridge.php')
-rw-r--r--bridges/GithubSearchBridge.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/GithubSearchBridge.php b/bridges/GithubSearchBridge.php
index 9c1face4..2af3ae6a 100644
--- a/bridges/GithubSearchBridge.php
+++ b/bridges/GithubSearchBridge.php
@@ -21,8 +21,7 @@ class GithubSearchBridge extends BridgeAbstract {
'type' => 'Repositories');
$url = self::URI . 'search?' . http_build_query($params);
- $html = getSimpleHTMLDOM($url)
- or returnServerError('Error while downloading the website content');
+ $html = getSimpleHTMLDOM($url);
foreach($html->find('li.repo-list-item') as $element) {
$item = array();