diff options
author | Joas Schilling <coding@schilljs.com> | 2019-07-23 10:28:47 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-08-15 11:12:45 +0200 |
commit | 810ee7d811c4cf0291add770cb89e5b6d11104b9 (patch) | |
tree | 329b6656be47cfeca48239722b55df0a8a1e4bc4 /lib/public/App | |
parent | f6c34240395bd53e160bdc8bac10e504451553b8 (diff) | |
download | nextcloud-server-810ee7d811c4cf0291add770cb89e5b6d11104b9.tar.gz nextcloud-server-810ee7d811c4cf0291add770cb89e5b6d11104b9.zip |
Make the auto-disabled list more broad
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/App')
-rw-r--r-- | lib/public/App/IAppManager.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index 6213227bfd1..aebd47b3a2d 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -110,9 +110,10 @@ interface IAppManager { * Disable an app for every user * * @param string $appId + * @param bool $automaticDisabled * @since 8.0.0 */ - public function disableApp($appId); + public function disableApp($appId, $automaticDisabled = false); /** * Get the directory for the given app. @@ -168,6 +169,12 @@ interface IAppManager { public function getEnabledAppsForGroup(IGroup $group): array; /** + * @return array + * @since 17.0.0 + */ + public function getAutoDisabledApps(): array; + + /** * @param String $appId * @return string[] * @since 17.0.0 |