From 341ce2bf3e5f4e1de869422d36cfabc14f680541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Sat, 27 Aug 2016 18:13:06 +0200 Subject: [PATCH] [VkBridge] remove useless $request member MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/VkBridge.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index 6f01655..b5ddb35 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -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); }