summaryrefslogtreecommitdiff
path: root/plugins/af_comics/filters/af_comics_twp.php
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_comics/filters/af_comics_twp.php
parentb1840673cd4266813f4b86fdb21799e67caf1083 (diff)
plugins: remove obsolete plugin_data/stored stuff
Diffstat (limited to 'plugins/af_comics/filters/af_comics_twp.php')
-rw-r--r--plugins/af_comics/filters/af_comics_twp.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/af_comics/filters/af_comics_twp.php b/plugins/af_comics/filters/af_comics_twp.php
index 156b2b687..ec43c1379 100644
--- a/plugins/af_comics/filters/af_comics_twp.php
+++ b/plugins/af_comics/filters/af_comics_twp.php
@@ -6,10 +6,8 @@ class Af_Comics_Twp extends Af_ComicFilter {
}
function process(&$article) {
- $owner_uid = $article["owner_uid"];
if (strpos($article["link"], "threewordphrase.com") !== FALSE) {
- if (strpos($article["plugin_data"], "af_comics,$owner_uid:") === FALSE) {
$doc = new DOMDocument();
@$doc->loadHTML(fetch_file_contents($article["link"]));
@@ -23,12 +21,8 @@ class Af_Comics_Twp extends Af_ComicFilter {
if ($basenode) {
$article["content"] = $doc->saveXML($basenode);
- $article["plugin_data"] = "af_comics,$owner_uid:" . $article["plugin_data"];
}
}
- } else if (isset($article["stored"]["content"])) {
- $article["content"] = $article["stored"]["content"];
- }
return true;
}