keep the ToDo hint from delegations

This commit is contained in:
Tobias Diekershoff 2019-10-11 11:48:05 +02:00
parent 882449266c
commit e3a947fb3d

View file

@ -33,6 +33,7 @@ class Uexport extends BaseSettingsModule
parent::content();
$args = self::getClass(Arguments::class);
if ($args->getArgc() == 3) {
// @TODO Replace with router-provided arguments
$action = $args->get(2);
header("Content-type: application/json");
header('Content-Disposition: attachment; filename="' . $a->user['nickname'] . '.' . $action . '"');