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 <josh.t.richards@gmail.com>
  • Loading branch information
joshtrichards authored and backportbot-nextcloud[bot] committed Dec 27, 2023
1 parent f596750 commit 881b4c3
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 @@ -223,9 +223,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 881b4c3

Please sign in to comment.