Commit 4ef05e35 authored by chimo's avatar chimo

backupaccount: Don't print page HTML in XML export

The current Atom/XML account backup contains the backupaccount HTML at the end
of the downloaded file. This change makes it so that only the XML is downloaded
by terminating the script before the HTML is served.
parent 956cfaf8
......@@ -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.
// Don't print the page HTML
public function isReadOnly($args) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment