mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 16:21:28 +00:00
always mangle guid in af_ plugins
This commit is contained in:
@@ -45,13 +45,11 @@ 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"];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $article;
|
||||
}
|
||||
|
||||
@@ -44,13 +44,11 @@ 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"];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $article;
|
||||
}
|
||||
|
||||
@@ -45,13 +45,11 @@ 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"];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $article;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user