mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 21:30:14 +02:00
Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge
This commit is contained in:
@@ -62,13 +62,13 @@ class TwitterBridge extends BridgeAbstract{
|
||||
public function collectData(){
|
||||
$html = '';
|
||||
|
||||
$html = $this->getSimpleHTMLDOM($this->getURI());
|
||||
$html = getSimpleHTMLDOM($this->getURI());
|
||||
if(!$html){
|
||||
switch($this->queriedContext){
|
||||
case 'By keyword or hashtag':
|
||||
$this->returnServerError('No results for this query.');
|
||||
returnServerError('No results for this query.');
|
||||
case 'By username':
|
||||
$this->returnServerError('Requested username can\'t be found.');
|
||||
returnServerError('Requested username can\'t be found.');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user