diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-09-17 16:33:27 +0200 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2019-09-28 09:39:28 +0000 |
commit | de6940352a2f708376219a89ec84a8e6d25ca59e (patch) | |
tree | 459bacfc183b24d611be1877fbe22bbcd4efb1d6 /lib/private/Settings | |
parent | c8cd607681ac128228f57114ce14dd67ab05de04 (diff) | |
download | nextcloud-server-de6940352a2f708376219a89ec84a8e6d25ca59e.tar.gz nextcloud-server-de6940352a2f708376219a89ec84a8e6d25ca59e.zip |
Move settings to an app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'lib/private/Settings')
-rw-r--r-- | lib/private/Settings/Manager.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index 1a9e8261ee8..48e2d34a5dd 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -30,6 +30,7 @@ namespace OC\Settings; use Closure; +use OC\Settings\Personal\PersonalInfo; use OCP\AppFramework\QueryException; use OCP\IL10N; use OCP\ILogger; @@ -245,32 +246,32 @@ class Manager implements IManager { if ($section === 'overview') { /** @var ISettings $form */ - $form = $this->container->query(Admin\Overview::class); + $form = $this->container->query(\OCA\Settings\Admin\Overview::class); if ($filter === null || $filter($form)) { $forms[$form->getPriority()] = [$form]; } } if ($section === 'server') { /** @var ISettings $form */ - $form = $this->container->query(Admin\Server::class); + $form = $this->container->query(\OCA\Settings\Admin\Server::class); if ($filter === null || $filter($form)) { $forms[$form->getPriority()] = [$form]; } - $form = $this->container->query(Admin\Mail::class); + $form = $this->container->query(\OCA\Settings\Admin\Mail::class); if ($filter === null || $filter($form)) { $forms[$form->getPriority()] = [$form]; } } if ($section === 'security') { /** @var ISettings $form */ - $form = $this->container->query(Admin\Security::class); + $form = $this->container->query(\OCA\Settings\Admin\Security::class); if ($filter === null || $filter($form)) { $forms[$form->getPriority()] = [$form]; } } if ($section === 'sharing') { /** @var ISettings $form */ - $form = $this->container->query(Admin\Sharing::class); + $form = $this->container->query(\OCA\Settings\Admin\Sharing::class); if ($filter === null || $filter($form)) { $forms[$form->getPriority()] = [$form]; } @@ -289,23 +290,23 @@ class Manager implements IManager { if ($section === 'personal-info') { /** @var ISettings $form */ - $form = $this->container->query(Personal\PersonalInfo::class); + $form = $this->container->query(\OCA\Settings\Personal\PersonalInfo::class); $forms[$form->getPriority()] = [$form]; - $form = new Personal\ServerDevNotice(); + $form = new \OCA\Settings\Personal\ServerDevNotice(); $forms[$form->getPriority()] = [$form]; } if ($section === 'security') { /** @var ISettings $form */ - $form = $this->container->query(Personal\Security::class); + $form = $this->container->query(\OCA\Settings\Personal\Security::class); $forms[$form->getPriority()] = [$form]; /** @var ISettings $form */ - $form = $this->container->query(Personal\Security\Authtokens::class); + $form = $this->container->query(\OCA\Settings\Personal\Security\Authtokens::class); $forms[$form->getPriority()] = [$form]; } if ($section === 'additional') { /** @var ISettings $form */ - $form = $this->container->query(Personal\Additional::class); + $form = $this->container->query(\OCA\Settings\Personal\Additional::class); $forms[$form->getPriority()] = [$form]; } |