]> git.wh0rd.org Git - tt-rss.git/commitdiff
always mangle guid in af_ plugins
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 10 Jan 2013 07:03:55 +0000 (11:03 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 10 Jan 2013 07:03:55 +0000 (11:03 +0400)
plugins/af_explosm/init.php
plugins/af_gocomics/init.php
plugins/af_pennyarcade/init.php

index d3da260b1eabeeae22e02cb08570e34adc8c2008..cd6efb2eecb9a96e9dcbc524e337f8182562b166 100644 (file)
@@ -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;
index 1dd188672e1af1a2d0828f45fe1e75a3de1cefd7..2a5d3ba3c872734d1c0753d87cc289cbdcd71777 100644 (file)
@@ -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;
index ec03990626400c3cb7595002236ad8abcb4036cf..e8c623f5eb156008e5c4446504a88cacbbec3762 100644 (file)
@@ -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;