Skip to content

Commit

Permalink
Merge pull request #3380 from nextcloud/fix/issue3363
Browse files Browse the repository at this point in the history
fix(Application.php): Update methods post-refactor
  • Loading branch information
juliusknorr authored Dec 27, 2023
2 parents 74091fe + cb9eff9 commit b6de97a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,9 @@ public function checkAndEnableCODEServer() {
$discoveryService = $this->getContainer()->get(DiscoveryService::class);
$capabilitiesService = $this->getContainer()->get(CapabilitiesService::class);

$discoveryService->refetch();
$capabilitiesService->clear();
$capabilitiesService->refetch();
$discoveryService->resetCache();
$capabilitiesService->resetCache();
$capabilitiesService->fetchFromRemote();
}
}
}

0 comments on commit b6de97a

Please sign in to comment.