diff options
author | Josh <josh.t.richards@gmail.com> | 2025-08-04 08:59:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-04 08:59:49 -0400 |
commit | 9195987d14d285b16d27e0c8034ac412ed25beaa (patch) | |
tree | 7db9d4fbeca6a3f956319e46b7aaf51f0924bbc3 | |
parent | 9c794833928d4e9727234d0cbaf5b9b5879f1e48 (diff) | |
download | nextcloud-server-cleanup-appframework-spreed.tar.gz nextcloud-server-cleanup-appframework-spreed.zip |
refactor(AppFramework): drop unused spreed/Talk fallbackcleanup-appframework-spreed
No longer needed from what I can tell since #20114 & nextcloud/spreed#3134
Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r-- | lib/private/AppFramework/App.php | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/private/AppFramework/App.php b/lib/private/AppFramework/App.php index e719ea19f90..77135986d5f 100644 --- a/lib/private/AppFramework/App.php +++ b/lib/private/AppFramework/App.php @@ -50,19 +50,8 @@ class App { if (isset($appInfo['namespace'])) { self::$nameSpaceCache[$appId] = trim($appInfo['namespace']); } else { - if ($appId !== 'spreed') { - // if the tag is not found, fall back to uppercasing the first letter - self::$nameSpaceCache[$appId] = ucfirst($appId); - } else { - // For the Talk app (appid spreed) the above fallback doesn't work. - // This leads to a problem when trying to install it freshly, - // because the apps namespace is already registered before the - // app is downloaded from the appstore, because of the hackish - // global route index.php/call/{token} which is registered via - // the core/routes.php so it does not have the app namespace. - // @ref https://github.com/nextcloud/server/pull/19433 - self::$nameSpaceCache[$appId] = 'Talk'; - } + // if the tag is not found, fall back to uppercasing the first letter + self::$nameSpaceCache[$appId] = ucfirst($appId); } return $topNamespace . self::$nameSpaceCache[$appId]; |