From 129d62635430167fbdf837420ca952ccbef7a331 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 18 Aug 2014 18:41:19 +0400 Subject: plugins: remove obsolete plugin_data/stored stuff --- plugins/af_natgeo/init.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'plugins/af_natgeo') 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; -- cgit v1.2.3