diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-05-12 14:06:06 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-05-12 22:55:34 +0200 |
commit | a49588bbe5c7c0a1852426149fecb39b3895c379 (patch) | |
tree | 2c6aa85bc8ffaf830feac0ddcca859341e96b0eb /apps/settings/lib | |
parent | 2ee34ff76c3fb847f93662007330457a5427babb (diff) | |
download | nextcloud-server-a49588bbe5c7c0a1852426149fecb39b3895c379.tar.gz nextcloud-server-a49588bbe5c7c0a1852426149fecb39b3895c379.zip |
PersonalInfo settings to use public AccoutManager API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/settings/lib')
-rw-r--r-- | apps/settings/lib/Settings/Personal/PersonalInfo.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/settings/lib/Settings/Personal/PersonalInfo.php b/apps/settings/lib/Settings/Personal/PersonalInfo.php index 7a0253d2be4..dbe68b907f2 100644 --- a/apps/settings/lib/Settings/Personal/PersonalInfo.php +++ b/apps/settings/lib/Settings/Personal/PersonalInfo.php @@ -35,7 +35,6 @@ declare(strict_types=1); namespace OCA\Settings\Settings\Personal; -use OC\Accounts\AccountManager; use OCA\FederatedFileSharing\FederatedShareProvider; use OCP\Accounts\IAccount; use OCP\Accounts\IAccountManager; @@ -57,7 +56,7 @@ class PersonalInfo implements ISettings { private $config; /** @var IUserManager */ private $userManager; - /** @var AccountManager */ + /** @var IAccountManager */ private $accountManager; /** @var IGroupManager */ private $groupManager; @@ -72,7 +71,7 @@ class PersonalInfo implements ISettings { IConfig $config, IUserManager $userManager, IGroupManager $groupManager, - AccountManager $accountManager, + IAccountManager $accountManager, IAppManager $appManager, IFactory $l10nFactory, IL10N $l @@ -272,10 +271,10 @@ class PersonalInfo implements ISettings { $messageParameters = []; foreach ($needVerifyMessage as $property) { switch ($account->getProperty($property)->getVerified()) { - case AccountManager::VERIFIED: + case IAccountManager::VERIFIED: $message = $this->l->t('Verifying'); break; - case AccountManager::VERIFICATION_IN_PROGRESS: + case IAccountManager::VERIFICATION_IN_PROGRESS: $message = $this->l->t('Verifying …'); break; default: |