Merge pull request #256 from owncloud/more-scrutinizer
One more method annotation
This commit is contained in:
commit
496a3cd6f8
@ -14,5 +14,10 @@ namespace OCA\Documents;
|
||||
|
||||
\OCP\JSON::checkLoggedIn();
|
||||
|
||||
$download = new Download(\OCP\User::getUser(), '/files' . @$_GET['path']);
|
||||
$download->sendResponse();
|
||||
$path = Helper::getArrayValueByKey($_GET, 'path');
|
||||
if (!empty($path)){
|
||||
$fullPath = '/files' . $path;
|
||||
$download = new Download(\OCP\User::getUser(), $fullPath);
|
||||
$download->sendResponse();
|
||||
}
|
||||
exit();
|
@ -16,6 +16,7 @@ namespace OCA\Documents;
|
||||
* @method boolean getIsGuest()
|
||||
* @method string getEsId()
|
||||
* @method string getToken()
|
||||
* @method int getStatus()
|
||||
*/
|
||||
|
||||
class Db_Member extends Db{
|
||||
|
Loading…
x
Reference in New Issue
Block a user