Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2021-10-28 20:59:26 +0300
committerChristopher Ng <chrng8@gmail.com>2021-11-04 03:17:29 +0300
commit50a6612c1fb1d56f5a9845481c8b74b9331c3c78 (patch)
tree690a64bd9a1f0c7d2ec14bb67638d1625158ea42 /apps
parenteb6217f551da044110f56c1ff69e58bad2cbdcb0 (diff)
Refine profile backend for frontend visibility requirements
- Provide metadata - Dynamic displayId - Add appId - Filter out unused parameter config properties from the existing profile config Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/lib/Settings/Personal/PersonalInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Settings/Personal/PersonalInfo.php b/apps/settings/lib/Settings/Personal/PersonalInfo.php
index 72c443ed1b6..def7e19f006 100644
--- a/apps/settings/lib/Settings/Personal/PersonalInfo.php
+++ b/apps/settings/lib/Settings/Personal/PersonalInfo.php
@@ -187,7 +187,7 @@ class PersonalInfo implements ISettings {
];
$profileParameters = [
- 'profileConfig' => $this->profileManager->getProfileConfig($user, $user),
+ 'profileConfig' => $this->profileManager->getProfileConfigWithMetadata($user, $user),
];
$this->initialStateService->provideInitialState('personalInfoParameters', $personalInfoParameters);