diff options
Diffstat (limited to 'lib/public/App/IAppManager.php')
-rw-r--r-- | lib/public/App/IAppManager.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index 918c7597448..4cf8da586e1 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -86,10 +86,11 @@ interface IAppManager { * Enable an app for every user * * @param string $appId + * @param bool $forceEnable * @throws AppPathNotFoundException * @since 8.0.0 */ - public function enableApp($appId); + public function enableApp(string $appId, bool $forceEnable = false): void; /** * Whether a list of types contains a protected app type @@ -105,10 +106,11 @@ interface IAppManager { * * @param string $appId * @param \OCP\IGroup[] $groups + * @param bool $forceEnable * @throws \Exception * @since 8.0.0 */ - public function enableAppForGroups($appId, $groups); + public function enableAppForGroups(string $appId, array $groups, bool $forceEnable = false): void; /** * Disable an app for every user |