diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-07-15 04:21:11 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-08-25 18:19:10 +0000 |
commit | 09f6eb5e58b4e0e3880d5e454331eb53e6d43eab (patch) | |
tree | f49f331175d7487f1e33faa972350b1ec459e249 /apps/settings/lib/Settings/Personal/PersonalInfo.php | |
parent | c5c70daa663cab80eb362b0312099fc2e71312e9 (diff) | |
download | nextcloud-server-09f6eb5e58b4e0e3880d5e454331eb53e6d43eab.tar.gz nextcloud-server-09f6eb5e58b4e0e3880d5e454331eb53e6d43eab.zip |
Remake Twitter handle saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/settings/lib/Settings/Personal/PersonalInfo.php')
-rw-r--r-- | apps/settings/lib/Settings/Personal/PersonalInfo.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/settings/lib/Settings/Personal/PersonalInfo.php b/apps/settings/lib/Settings/Personal/PersonalInfo.php index c60f39025e8..df1608e01d9 100644 --- a/apps/settings/lib/Settings/Personal/PersonalInfo.php +++ b/apps/settings/lib/Settings/Personal/PersonalInfo.php @@ -154,9 +154,6 @@ class PersonalInfo implements ISettings { 'website' => $account->getProperty(IAccountManager::PROPERTY_WEBSITE)->getValue(), 'websiteScope' => $account->getProperty(IAccountManager::PROPERTY_WEBSITE)->getScope(), 'websiteVerification' => $account->getProperty(IAccountManager::PROPERTY_WEBSITE)->getVerified(), - 'twitter' => $account->getProperty(IAccountManager::PROPERTY_TWITTER)->getValue(), - 'twitterScope' => $account->getProperty(IAccountManager::PROPERTY_TWITTER)->getScope(), - 'twitterVerification' => $account->getProperty(IAccountManager::PROPERTY_TWITTER)->getVerified(), 'groups' => $this->getGroups($user), 'isFairUseOfFreePushService' => $this->isFairUseOfFreePushService(), 'profileEnabledGlobally' => $this->profileManager->isProfileEnabled(), @@ -165,6 +162,7 @@ class PersonalInfo implements ISettings { $personalInfoParameters = [ 'userId' => $uid, 'displayName' => $this->getProperty($account, IAccountManager::PROPERTY_DISPLAYNAME), + 'twitter' => $this->getProperty($account, IAccountManager::PROPERTY_TWITTER), 'emailMap' => $this->getEmailMap($account), 'languageMap' => $this->getLanguageMap($user), 'profileEnabledGlobally' => $this->profileManager->isProfileEnabled(), |