| @@ 78-94 (lines=17) @@ | ||
| 75 | * @param IConfig $config |
|
| 76 | * @param EventDispatcherInterface $dispatcher |
|
| 77 | */ |
|
| 78 | public function __construct( |
|
| 79 | DbHandler $dbHandler, |
|
| 80 | IClientService $httpClientService, |
|
| 81 | ILogger $logger, |
|
| 82 | IJobList $jobList, |
|
| 83 | ISecureRandom $secureRandom, |
|
| 84 | IConfig $config, |
|
| 85 | EventDispatcherInterface $dispatcher |
|
| 86 | ) { |
|
| 87 | $this->dbHandler = $dbHandler; |
|
| 88 | $this->httpClientService = $httpClientService; |
|
| 89 | $this->logger = $logger; |
|
| 90 | $this->jobList = $jobList; |
|
| 91 | $this->secureRandom = $secureRandom; |
|
| 92 | $this->config = $config; |
|
| 93 | $this->dispatcher = $dispatcher; |
|
| 94 | } |
|
| 95 | ||
| 96 | /** |
|
| 97 | * add server to the list of trusted Nextcloud servers |
|
| @@ 63-80 (lines=18) @@ | ||
| 60 | * @param UpdateChecker $updateChecker |
|
| 61 | * @param IDateTimeFormatter $dateTimeFormatter |
|
| 62 | */ |
|
| 63 | public function __construct($appName, |
|
| 64 | IRequest $request, |
|
| 65 | IJobList $jobList, |
|
| 66 | ISecureRandom $secureRandom, |
|
| 67 | IConfig $config, |
|
| 68 | ITimeFactory $timeFactory, |
|
| 69 | IL10N $l10n, |
|
| 70 | UpdateChecker $updateChecker, |
|
| 71 | IDateTimeFormatter $dateTimeFormatter) { |
|
| 72 | parent::__construct($appName, $request); |
|
| 73 | $this->jobList = $jobList; |
|
| 74 | $this->secureRandom = $secureRandom; |
|
| 75 | $this->config = $config; |
|
| 76 | $this->timeFactory = $timeFactory; |
|
| 77 | $this->l10n = $l10n; |
|
| 78 | $this->updateChecker = $updateChecker; |
|
| 79 | $this->dateTimeFormatter = $dateTimeFormatter; |
|
| 80 | } |
|
| 81 | ||
| 82 | /** |
|
| 83 | * @return TemplateResponse |
|