Format sources
This commit is contained in:
parent
c740d36996
commit
ec9bcccdda
@ -36,7 +36,7 @@ class DocumentController extends Controller{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process partial/complete file download
|
* Process partial/complete file download
|
||||||
* @param array $args - array containing session id as an element with a key es_id
|
* @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();
|
\OCP\JSON::checkLoggedIn();
|
||||||
|
|
||||||
$download = new Download(\OCP\User::getUser(), '/files' . @$_GET['path']);
|
$download = new Download(\OCP\User::getUser(), '/files' . @$_GET['path']);
|
||||||
$download->sendResponse();
|
$download->sendResponse();
|
||||||
|
@ -45,4 +45,3 @@ if (isset($_GET['t'])) {
|
|||||||
}
|
}
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user