1
0
Fork 0
forked from blallo/rss-bridge

[VkBridge] remove useless $request member

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-27 18:13:06 +02:00
parent 720b7924c5
commit 341ce2bf3e

View file

@ -2,8 +2,6 @@
class VkBridge extends BridgeAbstract {
private $request;
public function loadMetadatas() {
$this->maintainer = "ahiles3005";
$this->name = "VK.com";
@ -21,8 +19,8 @@ class VkBridge extends BridgeAbstract {
$param=$this->parameters[$this->queriedContext];
$html = '';
if (isset($param['u']['value'])) {
$this->request = $param['u']['value'];
$text_html = $this->getSimpleHTMLDOM(urldecode($this->request)) or $this->returnServerError('No results for this query.');
$text_html = $this->getSimpleHTMLDOM(urldecode($param['u']['value']))
or $this->returnServerError('No results for this query.');
$text_html = iconv('windows-1251', 'utf-8', $text_html);
$html = str_get_html($text_html);
}