From 600411a2a7053d0d7664ccefdfa117162959f765 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 28 Mar 2022 12:25:42 -0600 Subject: [PATCH] Clear the cache when updating the domain. --- core/domains/domain_edit.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/domains/domain_edit.php b/core/domains/domain_edit.php index 459f4e39ec..55c4032af1 100644 --- a/core/domains/domain_edit.php +++ b/core/domains/domain_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2020 + Portions created by the Initial Developer are Copyright (C) 2008-2022 the Initial Developer. All Rights Reserved. Contributor(s): @@ -513,6 +513,10 @@ } } + //clear the cache + $cache = new cache; + $response = $cache->flush(); + //clear the domains session array to update it unset($_SESSION["domains"]); unset($_SESSION['domain']);