Merge branch 'backupaccount-xml' into 'nightly'

backupaccount: Don't print page HTML in XML export

See merge request gnu/gnu-social!144
This commit is contained in:
mmn 2017-12-17 17:35:22 +00:00
commit 9c0c8a19dd

View File

@ -74,6 +74,9 @@ class BackupaccountAction extends FormAction
// @fixme atom feed logic is in getString...
// but we just want it to output to the outputter.
$this->raw($stream->getString());
// Don't print the page HTML
exit(0);
}
public function isReadOnly($args) {