From 50a6612c1fb1d56f5a9845481c8b74b9331c3c78 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Thu, 28 Oct 2021 17:59:26 +0000 Subject: 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 --- apps/settings/lib/Settings/Personal/PersonalInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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); -- cgit v1.2.3