X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fbackupaccount.php;h=8f642f3b7708e61463237cfe74f80916fb955f3f;hb=bc2f64d7ab6c0218104e1a655209fe062d5bdd43;hp=e32b8d03de317b7e2207f4b1b3f2b8dc4fa26edd;hpb=e98e443605cff0266dcf9b412641b42c82e45824;p=quix0rs-gnu-social.git diff --git a/actions/backupaccount.php b/actions/backupaccount.php index e32b8d03de..8f642f3b77 100644 --- a/actions/backupaccount.php +++ b/actions/backupaccount.php @@ -118,11 +118,13 @@ class BackupaccountAction extends Action { $cur = common_current_user(); - $stream = new UserActivityStream($cur); + $stream = new UserActivityStream($cur, true, UserActivityStream::OUTPUT_RAW); header('Content-Disposition: attachment; filename='.$cur->nickname.'.atom'); header('Content-Type: application/atom+xml; charset=utf-8'); + // @fixme atom feed logic is in getString... + // but we just want it to output to the outputter. $this->raw($stream->getString()); }