From c7f68f4373eec97bcaeab2e0b9f2620d50bd6b62 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 19 Jul 2024 19:46:37 -0400 Subject: [PATCH] remove cacahe conditions --- www-api/app/Controllers/WrenchBanners.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchBanners.php b/www-api/app/Controllers/WrenchBanners.php index 4e3f333f..2579c919 100644 --- a/www-api/app/Controllers/WrenchBanners.php +++ b/www-api/app/Controllers/WrenchBanners.php @@ -30,11 +30,11 @@ class WrenchBanners extends BaseController // $in["action"] = WRENCHBOARD_ACCOUNT_LOGIN; $endpoint = "FAMILY_BANNERS-". $in["uid"]; // str_pad($in["uid"], 12, "0", STR_PAD_LEFT); $out = $this->getCache($endpoint); // try find in cache - if ( count($out) == 0 ){ + // if ( count($out) == 0 ){ $local_url = "http://".$this->micro_service_net1.":3032/familybanners"; $out = $this->APIcall('GET', $local_url, $in); $this->saveCache($endpoint,$out,1500); - } + // } return $this->summaryReturnData($in,$out); //json_encode( $final_out ); }