summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-10-23 12:28:48 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-23 12:56:31 +0200
commit2353d3cd5c1bc01c7ae4da9cd1c341f795982686 (patch)
tree5d952ea8b12b2e72bc1a364503616093feca5253 /core/Controller
parent61143644a41a42ee7f94c1a3d25050e492975c4d (diff)
downloadnextcloud-server-2353d3cd5c1bc01c7ae4da9cd1c341f795982686.tar.gz
nextcloud-server-2353d3cd5c1bc01c7ae4da9cd1c341f795982686.zip
feat(profile): Add public interface for profile manager so apps can check config
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/ProfilePageController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/ProfilePageController.php b/core/Controller/ProfilePageController.php
index 5034a665684..eacdd14c932 100644
--- a/core/Controller/ProfilePageController.php
+++ b/core/Controller/ProfilePageController.php
@@ -101,7 +101,7 @@ class ProfilePageController extends Controller {
$this->initialStateService->provideInitialState(
'profileParameters',
- $this->profileManager->getProfileParams($targetUser, $visitingUser),
+ $this->profileManager->getProfileFields($targetUser, $visitingUser),
);
$this->eventDispatcher->dispatchTyped(new BeforeTemplateRenderedEvent($targetUserId));