diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2022-09-15 08:15:25 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2022-09-15 08:15:33 -0100 |
commit | 0efd6d995037bc34de714024f137fecdbdc50a69 (patch) | |
tree | fd187d0751321f586affd2152f3f170af0ab1fdc /lib/public/App/IAppManager.php | |
parent | 4c1f06170e1f7256bdc0791c40359c5ab6ad5eda (diff) | |
download | nextcloud-server-0efd6d995037bc34de714024f137fecdbdc50a69.tar.gz nextcloud-server-0efd6d995037bc34de714024f137fecdbdc50a69.zip |
set defaultEnabled in shipped.json
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/App/IAppManager.php')
-rw-r--r-- | lib/public/App/IAppManager.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index e0b5c049290..ef8a7b8d9f0 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -84,6 +84,17 @@ interface IAppManager { public function isInstalled($appId); /** + * Check if an app is enabled by default + * + * Notice: This actually checks if the app should be enabled by default + * and not if currently installed/enabled + * + * @param string $appId + * @since 25.0.0 + */ + public function isDefaultEnabled(string $appId):bool; + + /** * Enable an app for every user * * @param string $appId @@ -179,6 +190,12 @@ interface IAppManager { public function getAlwaysEnabledApps(); /** + * @return string[] app IDs + * @since 25.0.0 + */ + public function getDefaultEnabledApps(): array; + + /** * @param \OCP\IGroup $group * @return String[] * @since 17.0.0 |