diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-10-10 14:24:34 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-10-19 22:04:20 +0200 |
commit | 363d9ebb130862d5fc5617e94b1c369caf02553f (patch) | |
tree | 075425b702790fdd13c58fb396d72c1e6a22f544 /lib/public/App | |
parent | 08cff0777aac169dd9c758b73faa0060004fc7a0 (diff) | |
download | nextcloud-server-363d9ebb130862d5fc5617e94b1c369caf02553f.tar.gz nextcloud-server-363d9ebb130862d5fc5617e94b1c369caf02553f.zip |
feat(NavigationManager): Always sort the default app first
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/public/App')
-rw-r--r-- | lib/public/App/IAppManager.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index f1807399e2a..70d137a2cce 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -248,9 +248,13 @@ interface IAppManager { * * If `user` is not passed, the currently logged in user will be used * + * @param ?IUser $user User to query default app for + * @param bool $withFallbacks Include fallback values if no default app was configured manually + * * @since 25.0.6 + * @since 28.0.0 Added optional $withFallbacks parameter */ - public function getDefaultAppForUser(?IUser $user = null): string; + public function getDefaultAppForUser(?IUser $user = null, bool $withFallbacks = true): string; /** * Get the global default apps with fallbacks |