mirror of
https://github.com/nextcloud/passman.git
synced 2024-09-20 14:56:21 +08:00
import missing logger interface
Signed-off-by: binsky <timo@binsky.org>
This commit is contained in:
parent
301572ac5d
commit
83bdd935af
|
@ -16,15 +16,18 @@ use OCP\AppFramework\ApiController;
|
|||
use OCP\AppFramework\Db\DoesNotExistException;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
use OCP\IRequest;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
class FileController extends ApiController {
|
||||
private $userId;
|
||||
private $fileService;
|
||||
private $logger;
|
||||
|
||||
public function __construct($AppName,
|
||||
IRequest $request,
|
||||
$UserId,
|
||||
FileService $fileService) {
|
||||
FileService $fileService,
|
||||
LoggerInterface $logger) {
|
||||
parent::__construct(
|
||||
$AppName,
|
||||
$request,
|
||||
|
@ -33,6 +36,7 @@ class FileController extends ApiController {
|
|||
86400);
|
||||
$this->userId = $UserId;
|
||||
$this->fileService = $fileService;
|
||||
$this->logger = $logger;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ use OCP\AppFramework\ApiController;
|
|||
use OCP\AppFramework\Db\DoesNotExistException;
|
||||
use OCP\AppFramework\Http\JSONResponse;
|
||||
use OCP\IRequest;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
|
||||
class VaultController extends ApiController {
|
||||
|
|
Loading…
Reference in a new issue