aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/App
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 16:56:04 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-03-20 10:01:17 +0100
commita7c8090dc3c47c79ed9e7e22967cba7d124f0fa7 (patch)
tree45c7cfba209002f804f735a6a72cd41f1e8edee1 /lib/public/App
parent07448168dcce5972678473346bf2861ee3f1559b (diff)
downloadnextcloud-server-a7c8090dc3c47c79ed9e7e22967cba7d124f0fa7.tar.gz
nextcloud-server-a7c8090dc3c47c79ed9e7e22967cba7d124f0fa7.zip
Move loadApp function to the AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/App')
-rw-r--r--lib/public/App/IAppManager.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index de36fafcdfe..51bd5845b7c 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -94,6 +94,20 @@ interface IAppManager {
public function isDefaultEnabled(string $appId):bool;
/**
+ * Load an app, if not already loaded
+ * @param string $app app id
+ * @since 26.0.0
+ */
+ public function loadApp(string $app): void;
+
+ /**
+ * Check if an app is loaded
+ * @param string $app app id
+ * @since 26.0.0
+ */
+ public function isAppLoaded(string $app): bool;
+
+ /**
* Enable an app for every user
*
* @param string $appId