summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-01-10 11:03:55 +0400
committerAndrew Dolgov <[email protected]>2013-01-10 11:03:55 +0400
commit80715caeaa7cb2fb8636748baab9ecc50730f869 (patch)
treef31611e8e02e695d8dc14a764b0b2d43843ce36c /plugins
parent90e13f5b1d9f5a8c02addd730ce7e9074ef7370d (diff)
always mangle guid in af_ plugins
Diffstat (limited to 'plugins')
-rw-r--r--plugins/af_explosm/init.php6
-rw-r--r--plugins/af_gocomics/init.php6
-rw-r--r--plugins/af_pennyarcade/init.php6
3 files changed, 6 insertions, 12 deletions
diff --git a/plugins/af_explosm/init.php b/plugins/af_explosm/init.php
index d3da260b1..cd6efb2ee 100644
--- a/plugins/af_explosm/init.php
+++ b/plugins/af_explosm/init.php
@@ -45,12 +45,10 @@ class Af_Explosm extends Plugin {
if ($basenode) {
$article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
-
- // we need to update guid with owner_uid because our local article is different from the one
- // other users with this plugin disabled might get
- $article["guid"] = "explosm,$owner_uid:" . $article["guid"];
}
}
+
+ $article["guid"] = "explosm,$owner_uid:" . $article["guid"];
}
return $article;
diff --git a/plugins/af_gocomics/init.php b/plugins/af_gocomics/init.php
index 1dd188672..2a5d3ba3c 100644
--- a/plugins/af_gocomics/init.php
+++ b/plugins/af_gocomics/init.php
@@ -44,12 +44,10 @@ class Af_GoComics extends Plugin {
if ($basenode) {
$article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
-
- // we need to update guid with owner_uid because our local article is different from the one
- // other users with this plugin disabled might get
- $article["guid"] = "gocomics,$owner_uid:" . $article["guid"];
}
}
+
+ $article["guid"] = "gocomics,$owner_uid:" . $article["guid"];
}
return $article;
diff --git a/plugins/af_pennyarcade/init.php b/plugins/af_pennyarcade/init.php
index ec0399062..e8c623f5e 100644
--- a/plugins/af_pennyarcade/init.php
+++ b/plugins/af_pennyarcade/init.php
@@ -45,12 +45,10 @@ class Af_PennyArcade extends Plugin {
if ($basenode) {
$article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
-
- // we need to update guid with owner_uid because our local article is different from the one
- // other users with this plugin disabled might get
- $article["guid"] = "pennyarcade,$owner_uid:" . $article["guid"];
}
}
+
+ $article["guid"] = "pennyarcade,$owner_uid:" . $article["guid"];
}
return $article;