diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-04 07:00:45 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-04 07:00:45 -0800 |
commit | 62d5f1addb1b710a387f7732ace1dd33bd1b86c1 (patch) | |
tree | df1d6d402dd057c330b0eb71b803d595c024d476 /lib/atomnoticefeed.php | |
parent | 0f1c6e239acbf2c024c3aae9819d891f02b05bfd (diff) | |
parent | 9f861e9d895325adbb2dc7f1d540a442be2c1b2f (diff) |
Merge branch 'testing'
Diffstat (limited to 'lib/atomnoticefeed.php')
-rw-r--r-- | lib/atomnoticefeed.php | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/lib/atomnoticefeed.php b/lib/atomnoticefeed.php index 3c3556cb9..e4df731fe 100644 --- a/lib/atomnoticefeed.php +++ b/lib/atomnoticefeed.php @@ -107,9 +107,19 @@ class AtomNoticeFeed extends Atom10Feed */ function addEntryFromNotice($notice) { - $this->addEntryRaw($notice->asAtomEntry()); - } + $source = $this->showSource(); + $author = $this->showAuthor(); -} + $this->addEntryRaw($notice->asAtomEntry(false, $source, $author)); + } + function showSource() + { + return true; + } + function showAuthor() + { + return true; + } +} |