]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(profile): add legacy root for old `core.ProfilePage.index`
authorskjnldsv <skjnldsv@protonmail.com>
Wed, 13 Nov 2024 10:38:09 +0000 (11:38 +0100)
committerskjnldsv <skjnldsv@protonmail.com>
Thu, 14 Nov 2024 09:25:33 +0000 (10:25 +0100)
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
lib/private/Route/Router.php

index 7ec2aac021caaa9accf4bbbb41b79c3762efee5b..886e70c9a35eadb0eea0e51a988225ef8444b9bd 100644 (file)
@@ -407,6 +407,9 @@ class Router implements IRouter {
                if ($routeName === 'cloud_federation_api.requesthandlercontroller.receivenotification') {
                        return 'cloud_federation_api.requesthandler.receivenotification';
                }
+               if ($routeName === 'core.ProfilePage.index') {
+                       return 'profile.ProfilePage.index';
+               }
                return $routeName;
        }