function postContent() { $this->gatekeeper(); set_time_limit(0); header('Content-type: text/rss'); header('Content-disposition: attachment; filename=user_export.rss'); $hide_private = true; if ($private = $this->getInput('allposts')) { $hide_private = false; } echo Migration::getExportRSS($hide_private, Idno::site()->session()->currentUserUUID()); exit; }
function postContent() { $this->adminGatekeeper(); set_time_limit(0); header('Content-type: text/rss'); header('Content-disposition: attachment; filename=export.rss'); $hide_private = true; if ($private = $this->getInput('allposts')) { $hide_private = false; } echo Migration::getExportRSS($hide_private); exit; }