mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
recent-changes: deduplicate in atom
feed generation
This commit is contained in:
parent
9c44f02f00
commit
6abbdc4d1e
1 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
register_module([
|
||||
"name" => "Recent Changes",
|
||||
"version" => "0.5",
|
||||
"version" => "0.5.1",
|
||||
"author" => "Starbeamrainbowlabs",
|
||||
"description" => "Adds recent changes. Access through the 'recent-changes' action.",
|
||||
"id" => "feature-recent-changes",
|
||||
|
@ -347,8 +347,7 @@ function render_recent_change_atom($recent_changes) {
|
|||
global $version, $settings;
|
||||
// See http://www.atomenabled.org/developers/syndication/#sampleFeed for easy-to-read Atom 1.0 docs
|
||||
|
||||
$full_url_stem = full_url();
|
||||
$full_url_stem = substr($full_url_stem, 0, strpos($full_url_stem, "?"));
|
||||
$full_url_stem = url_stem();
|
||||
|
||||
$xml = new XMLWriter();
|
||||
$xml->openMemory();
|
||||
|
|
Loading…
Reference in a new issue