deleteCache

This commit is contained in:
CHIEFSOFT\ameye
2024-10-05 04:13:52 -04:00
parent cfbe6e61b4
commit 1a4cab314e
+1
View File
@@ -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);
}
}