From 80715caeaa7cb2fb8636748baab9ecc50730f869 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 10 Jan 2013 11:03:55 +0400 Subject: [PATCH] always mangle guid in af_ plugins --- plugins/af_explosm/init.php | 6 ++---- plugins/af_gocomics/init.php | 6 ++---- plugins/af_pennyarcade/init.php | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/plugins/af_explosm/init.php b/plugins/af_explosm/init.php index d3da260b..cd6efb2e 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 1dd18867..2a5d3ba3 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 ec039906..e8c623f5 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; -- 2.39.5