From a9a68e136ca37a90ca5e4ece1d069cd647dcd50f Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 15 Jan 2018 11:25:49 +0200 Subject: [PATCH] Fix cache clear in cron --- app/Console/Commands/SendReminders.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SendReminders.php b/app/Console/Commands/SendReminders.php index b58268a0b2..4d0788cdaf 100644 --- a/app/Console/Commands/SendReminders.php +++ b/app/Console/Commands/SendReminders.php @@ -196,7 +196,7 @@ class SendReminders extends Command Currency::whereCode($code)->update(['exchange_rate' => $rate]); } - Cache::forget('currencies'); + CurlUtils::get(SITE_URL . '?clear_cache=true'); } /**