2017-06-01 09:37:23 -04:00
|
|
|
<?php
|
|
|
|
|
/**
|
2024-06-06 03:55:47 -04:00
|
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-06-01 09:37:23 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCA\Files_External\Settings;
|
|
|
|
|
|
|
|
|
|
use OCA\Files_External\Service\BackendService;
|
|
|
|
|
use OCA\Files_External\Service\UserGlobalStoragesService;
|
|
|
|
|
use OCP\IL10N;
|
|
|
|
|
use OCP\IURLGenerator;
|
|
|
|
|
use OCP\IUserSession;
|
|
|
|
|
|
|
|
|
|
class PersonalSection extends Section {
|
|
|
|
|
/** @var IUserSession */
|
|
|
|
|
private $userSession;
|
|
|
|
|
|
|
|
|
|
/** @var UserGlobalStoragesService */
|
|
|
|
|
private $userGlobalStoragesService;
|
|
|
|
|
|
|
|
|
|
/** @var BackendService */
|
|
|
|
|
private $backendService;
|
|
|
|
|
|
|
|
|
|
public function __construct(
|
|
|
|
|
IURLGenerator $url,
|
|
|
|
|
IL10N $l,
|
|
|
|
|
IUserSession $userSession,
|
|
|
|
|
UserGlobalStoragesService $userGlobalStoragesService,
|
|
|
|
|
BackendService $backendService
|
|
|
|
|
) {
|
|
|
|
|
parent::__construct($url, $l);
|
|
|
|
|
$this->userSession = $userSession;
|
|
|
|
|
$this->userGlobalStoragesService = $userGlobalStoragesService;
|
|
|
|
|
$this->backendService = $backendService;
|
|
|
|
|
}
|
2017-07-05 05:45:40 -04:00
|
|
|
}
|