always mangle guid in af_ plugins
This commit is contained in:
parent
90e13f5b1d
commit
80715caeaa
|
@ -45,13 +45,11 @@ class Af_Explosm extends Plugin {
|
||||||
|
|
||||||
if ($basenode) {
|
if ($basenode) {
|
||||||
$article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
|
$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;
|
return $article;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,13 +44,11 @@ class Af_GoComics extends Plugin {
|
||||||
|
|
||||||
if ($basenode) {
|
if ($basenode) {
|
||||||
$article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
|
$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;
|
return $article;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,13 +45,11 @@ class Af_PennyArcade extends Plugin {
|
||||||
|
|
||||||
if ($basenode) {
|
if ($basenode) {
|
||||||
$article["content"] = $doc->saveXML($basenode, LIBXML_NOEMPTYTAG);
|
$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;
|
return $article;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue