1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:35:56 +00:00

plugins: remove obsolete plugin_data/stored stuff

This commit is contained in:
Andrew Dolgov
2014-08-18 18:41:19 +04:00
parent b1840673cd
commit 129d626354
14 changed files with 2 additions and 86 deletions

View 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;