From: Andrew Dolgov Date: Thu, 10 Jan 2013 07:03:55 +0000 (+0400) Subject: always mangle guid in af_ plugins X-Git-Tag: 1.7.0~65 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=80715caeaa7cb2fb8636748baab9ecc50730f869;p=tt-rss.git always mangle guid in af_ plugins --- 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;