File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ public function ignoreNextcloudRequirementForApp(string $appId): void {
313313 * @param bool $forceEnable
314314 * @throws AppPathNotFoundException
315315 */
316- public function enableApp (string $ appId , bool $ forceEnable ): void {
316+ public function enableApp (string $ appId , bool $ forceEnable = false ): void {
317317 // Check if app exists
318318 $ this ->getAppPath ($ appId );
319319
@@ -353,7 +353,7 @@ public function hasProtectedAppType($types) {
353353 * @throws \InvalidArgumentException if app can't be enabled for groups
354354 * @throws AppPathNotFoundException
355355 */
356- public function enableAppForGroups (string $ appId , array $ groups , bool $ forceEnable ): void {
356+ public function enableAppForGroups (string $ appId , array $ groups , bool = false ): void {
357357 // Check if app exists
358358 $ this ->getAppPath($ appId );
359359
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class ProviderFactory implements IProviderFactory {
6060 private $ shareByCircleProvider = null ;
6161 /** @var bool */
6262 private $ circlesAreNotAvailable = false ;
63- /** @var \OCA\Spreed \Share\RoomShareProvider */
63+ /** @var \OCA\Talk \Share\RoomShareProvider */
6464 private $ roomShareProvider = null ;
6565
6666 /**
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public function isInstalled($appId);
8686 * @throws AppPathNotFoundException
8787 * @since 8.0.0
8888 */
89- public function enableApp (string $ appId , bool $ forceEnable ): void ;
89+ public function enableApp (string $ appId , bool $ forceEnable = false ): void ;
9090
9191 /**
9292 * Whether a list of types contains a protected app type
@@ -106,7 +106,7 @@ public function hasProtectedAppType($types);
106106 * @throws \Exception
107107 * @since 8.0.0
108108 */
109- public function enableAppForGroups (string $ appId , array $ groups , bool $ forceEnable ): void ;
109+ public function enableAppForGroups (string $ appId , array $ groups , bool $ forceEnable = false ): void ;
110110
111111 /**
112112 * Disable an app for every user
You can’t perform that action at this time.
0 commit comments