aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/NavigationManager.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-02-10 11:35:38 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2025-02-13 10:19:20 +0100
commitf758f565d4da004ebef97350365a066eee5267fe (patch)
tree5dcea3814c85d70a76cd9ee0575a4b41162d79d3 /lib/private/NavigationManager.php
parenta3685551f7188e7d2d0c7532b821ec2c3bd40583 (diff)
downloadnextcloud-server-f758f565d4da004ebef97350365a066eee5267fe.tar.gz
nextcloud-server-f758f565d4da004ebef97350365a066eee5267fe.zip
fix: Replace getInstalledApps calls with getEnabledAppsfix/clarify-app-manager-methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/NavigationManager.php')
-rw-r--r--lib/private/NavigationManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php
index 4bcd78b7fcf..83d26c7ca63 100644
--- a/lib/private/NavigationManager.php
+++ b/lib/private/NavigationManager.php
@@ -328,7 +328,7 @@ class NavigationManager implements INavigationManager {
$apps = $this->appManager->getEnabledAppsForUser($user);
$this->customAppOrder = json_decode($this->config->getUserValue($user->getUID(), 'core', 'apporder', '[]'), true, flags:JSON_THROW_ON_ERROR);
} else {
- $apps = $this->appManager->getInstalledApps();
+ $apps = $this->appManager->getEnabledApps();
$this->customAppOrder = [];
}