]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/backupaccount.php
Merge branch 'master' into 0.9.x
[quix0rs-gnu-social.git] / actions / backupaccount.php
index e32b8d03de317b7e2207f4b1b3f2b8dc4fa26edd..8f642f3b7708e61463237cfe74f80916fb955f3f 100644 (file)
@@ -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());
     }