@ -36,7 +36,7 @@ class DocumentController extends Controller{
}
/**
* Process partial/complete file download
* @param array $args - array containing session id as an element with a key es_id
*/
@ -15,4 +15,4 @@ namespace OCA\Documents;
\OCP\JSON::checkLoggedIn();
$download = new Download(\OCP\User::getUser(), '/files' . @$_GET['path']);
$download->sendResponse();
@ -45,4 +45,3 @@ if (isset($_GET['t'])) {
$tmpl->printPage();