Merge pull request #256 from owncloud/more-scrutinizer

One more method annotation
This commit is contained in:
VicDeo 2014-05-15 23:34:07 +03:00
commit 496a3cd6f8
2 changed files with 8 additions and 2 deletions

View File

@ -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();

View File

@ -16,6 +16,7 @@ namespace OCA\Documents;
* @method boolean getIsGuest()
* @method string getEsId()
* @method string getToken()
* @method int getStatus()
*/
class Db_Member extends Db{