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:
commit
9c0c8a19dd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user