diff options
Diffstat (limited to 'apps/profile/lib/Controller')
-rw-r--r-- | apps/profile/lib/Controller/ProfilePageController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/profile/lib/Controller/ProfilePageController.php b/apps/profile/lib/Controller/ProfilePageController.php index 96a052b0bbf..0a5ec251e38 100644 --- a/apps/profile/lib/Controller/ProfilePageController.php +++ b/apps/profile/lib/Controller/ProfilePageController.php @@ -28,6 +28,7 @@ use OCP\Profile\BeforeTemplateRenderedEvent; use OCP\Profile\IProfileManager; use OCP\Share\IManager as IShareManager; use OCP\UserStatus\IManager as IUserStatusManager; +use OCP\Util; #[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)] class ProfilePageController extends Controller { @@ -103,7 +104,7 @@ class ProfilePageController extends Controller { $this->eventDispatcher->dispatchTyped(new BeforeTemplateRenderedEvent($targetUserId)); - \OCP\Util::addScript('profile', 'main'); + Util::addScript('profile', 'main'); return new TemplateResponse( 'profile', |