aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-08-27 12:14:09 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-09 11:04:36 +0200
commit70ed08daf1d6845af5df3a4a0b06eb73d190c6cf (patch)
tree4537190b9b1a700e0ce819d80c19ac4c693b3796 /lib/public
parentb0baaaed9dfdce8c2630255d0d1921679579761d (diff)
downloadnextcloud-server-70ed08daf1d6845af5df3a4a0b06eb73d190c6cf.tar.gz
nextcloud-server-70ed08daf1d6845af5df3a4a0b06eb73d190c6cf.zip
refactor(AppManager): Deprecated default apps handling
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/App/IAppManager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index e11bb0c36f5..b735b0d7c64 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -247,6 +247,8 @@ interface IAppManager {
*
* @since 25.0.6
* @since 28.0.0 Added optional $withFallbacks parameter
+ * @deprecated 31.0.0
+ * Use @see \OCP\INavigationManager::getDefaultEntryIdForUser() instead
*/
public function getDefaultAppForUser(?IUser $user = null, bool $withFallbacks = true): string;
@@ -255,6 +257,8 @@ interface IAppManager {
*
* @return string[] The default applications
* @since 28.0.0
+ * @deprecated 31.0.0
+ * Use @see \OCP\INavigationManager::getDefaultEntryIds() instead
*/
public function getDefaultApps(): array;
@@ -264,6 +268,8 @@ interface IAppManager {
* @param string[] $appId
* @throws \InvalidArgumentException If any of the apps is not installed
* @since 28.0.0
+ * @deprecated 31.0.0
+ * Use @see \OCP\INavigationManager::setDefaultEntryIds() instead
*/
public function setDefaultApps(array $defaultApps): void;