From 881b4c3a2e211aaa6eefaab26591d9d2f2209167 Mon Sep 17 00:00:00 2001 From: Josh Richards Date: Mon, 25 Dec 2023 10:14:54 -0500 Subject: [PATCH] fix(Application.php): Update methods post-refactor 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 --- lib/AppInfo/Application.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 5b33f4fbcd..f42ca242cc 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -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(); } } }