* @copyright Sander Brand 2016 */ namespace OCA\Passman\Controller; use OCP\IRequest; use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Controller; class FileController extends Controller { private $userId; public function __construct($AppName, IRequest $request, $UserId){ parent::__construct($AppName, $request); $this->userId = $UserId; } /** * @NoAdminRequired */ public function upload($credential_id) { return; } /** * @NoAdminRequired */ public function delete($credential_id, $file_id) { return; } }