summaryrefslogtreecommitdiff
path: root/plugins/af_natgeo
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-08-18 18:41:19 +0400
committerAndrew Dolgov <[email protected]>2014-08-18 18:41:19 +0400
commit129d62635430167fbdf837420ca952ccbef7a331 (patch)
treebf133d835c2dfa378872377645fb07fe41196721 /plugins/af_natgeo
parentb1840673cd4266813f4b86fdb21799e67caf1083 (diff)
plugins: remove obsolete plugin_data/stored stuff
Diffstat (limited to 'plugins/af_natgeo')
-rw-r--r--plugins/af_natgeo/init.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/af_natgeo/init.php b/plugins/af_natgeo/init.php
index 72354c1c8..52a89e92d 100644
--- a/plugins/af_natgeo/init.php
+++ b/plugins/af_natgeo/init.php
@@ -19,7 +19,6 @@ class Af_NatGeo extends Plugin {
$owner_uid = $article["owner_uid"];
if (strpos($article["link"], "nationalgeographic.com") !== FALSE) {
- if (strpos($article["plugin_data"], "natgeo,$owner_uid:") === FALSE) {
$doc = new DOMDocument();
@$doc->loadHTML(fetch_file_contents($article["link"]));
@@ -39,12 +38,8 @@ class Af_NatGeo extends Plugin {
if ($basenode) {
$article["content"] = $doc->saveXML($basenode);
- $article["plugin_data"] = "natgeo,$owner_uid:" . $article["plugin_data"];
}
}
- } else if (isset($article["stored"]["content"])) {
- $article["content"] = $article["stored"]["content"];
- }
}
return $article;