deleteCache
This commit is contained in:
@@ -56,6 +56,7 @@ class WrenchJobs extends BaseController
|
|||||||
$out = $this->APIcall('GET', $local_url, $in);
|
$out = $this->APIcall('GET', $local_url, $in);
|
||||||
// dont cache junk
|
// dont cache junk
|
||||||
if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){
|
if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){
|
||||||
|
$this->deleteCache($endpoint);
|
||||||
$this->saveCache($endpoint,$out,1440);
|
$this->saveCache($endpoint,$out,1440);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user