Skip to content

Commit

Permalink
Update apps/settings/lib/Controller/AppSettingsController.php
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux and come-nc authored Nov 18, 2024
1 parent 0a7fccc commit c2d6545
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions apps/settings/lib/Controller/AppSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -632,11 +632,8 @@ private function sortApps($a, $b) {
}

public function force(string $appId): JSONResponse {
/** @var \OC\App\AppManager $appManager */
$appManager = $this->appManager;

$appId = $appManager->cleanAppId($appId);
$appManager->overwriteNextcloudRequirement($appId);
$appId = $this->appManager->cleanAppId($appId);
$this->appManager->overwriteNextcloudRequirement($appId);
return new JSONResponse();
}
}

0 comments on commit c2d6545

Please sign in to comment.