always mangle guid in af_ plugins

master
Andrew Dolgov 12 years ago
parent 90e13f5b1d
commit 80715caeaa

@ -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;

@ -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;

@ -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;

Loading…
Cancel
Save