]> git.wh0rd.org - tt-rss.git/blobdiff - plugins/af_unburn/init.php
plugins: remove obsolete plugin_data/stored stuff
[tt-rss.git] / plugins / af_unburn / init.php
index 5873ccdf75a5bcac6ed3698c66e652a174de9cf0..5c9bc138733efd1b999599e3dc73e5f6ed0822a9 100644 (file)
@@ -24,8 +24,6 @@ class Af_Unburn extends Plugin {
                                strpos($article["link"], "/~r/") !== FALSE ||
                                strpos($article["link"], "feedsportal.com") !== FALSE)) {
 
-                       if (strpos($article["plugin_data"], "unburn,$owner_uid:") === FALSE) {
-
                                if (ini_get("safe_mode") || ini_get("open_basedir")) {
                                        $ch = curl_init(geturl($article["link"]));
                                } else {
@@ -42,7 +40,7 @@ class Af_Unburn extends Plugin {
                                        curl_setopt($ch, CURLOPT_PROXY, _CURL_HTTP_PROXY);
                                }
 
-                               $contents = @curl_exec($ch);
+                               @curl_exec($ch);
 
                                $real_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);
 
@@ -73,9 +71,6 @@ class Af_Unburn extends Plugin {
                                        $article["plugin_data"] = "unburn,$owner_uid:" . $article["plugin_data"];
                                        $article["link"] = $real_url;
                                }
-                       } else if (isset($article["stored"]["link"])) {
-                               $article["link"] = $article["stored"]["link"];
-                       }
                }
 
                return $article;