From 1a4cab314ecac600f92fa9eb0924e7bee43daeb4 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 5 Oct 2024 04:13:52 -0400 Subject: [PATCH] deleteCache --- www-api/app/Controllers/WrenchJobs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/www-api/app/Controllers/WrenchJobs.php b/www-api/app/Controllers/WrenchJobs.php index 85a22ec5..d277af5f 100644 --- a/www-api/app/Controllers/WrenchJobs.php +++ b/www-api/app/Controllers/WrenchJobs.php @@ -56,6 +56,7 @@ class WrenchJobs extends BaseController $out = $this->APIcall('GET', $local_url, $in); // dont cache junk if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){ + $this->deleteCache($endpoint); $this->saveCache($endpoint,$out,1440); } }