Skip to content

Commit

Permalink
fix(Application.php): Update methods post-refactor
Browse files Browse the repository at this point in the history
Fixes #3363. The refactor in #3315 swapped around a few methods and this updates Application.php to use the appropriate ones.

Signed-off-by: Josh Richards <[email protected]>
  • Loading branch information
joshtrichards committed Dec 25, 2023
1 parent 7f52094 commit cb9eff9
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 cb9eff9

Please sign in to comment.