From 54daaf5ba4df0b1201904af688340db4f23819b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Skrzypczak?= Date: Tue, 7 Nov 2023 08:11:34 +0100 Subject: [PATCH] Fixed cache clearing for address finder configuration --- config/version.php | 2 +- modules/Settings/ApiAddress/models/Module.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/version.php b/config/version.php index f6a17275817c..5f58b8f7a861 100644 --- a/config/version.php +++ b/config/version.php @@ -1,7 +1,7 @@ '6.5.2', + 'appVersion' => '6.5.3', 'patchVersion' => '2023.11.07', 'lib_roundcube' => '0.3.1', ]; diff --git a/modules/Settings/ApiAddress/models/Module.php b/modules/Settings/ApiAddress/models/Module.php index bc185b11a970..8f4df1cab55f 100644 --- a/modules/Settings/ApiAddress/models/Module.php +++ b/modules/Settings/ApiAddress/models/Module.php @@ -59,6 +59,7 @@ public function setConfig(array $data): bool $result = $db->createCommand()->insert($this->baseTable, ['val' => $val, 'type' => $type, 'name' => $key])->execute(); } } + \App\Cache::delete('AddressFinder', 'Config'); return (bool) $result; }