diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2019-12-16 12:34:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 12:34:27 +0100 |
commit | faf58e4cacf6475110e32c7e5c8f37971b641b1a (patch) | |
tree | 8d9e184401c781e1b4c95d2b369e17ef0b448f61 /lib/public | |
parent | 85ef2bf94429d37ad4c76860b8d9028505b3bf13 (diff) | |
parent | 3eee359d7ffd6219f6a2ab8cca18a13118552842 (diff) | |
download | nextcloud-server-faf58e4cacf6475110e32c7e5c8f37971b641b1a.tar.gz nextcloud-server-faf58e4cacf6475110e32c7e5c8f37971b641b1a.zip |
Merge pull request #17018 from nextcloud/feature/noid/allow-to-force-enable-via-cli
Allow to force enable apps via CLI
Diffstat (limited to 'lib/public')
-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 |