clear_setting_cache() immediately

This commit is contained in:
xiaomlove
2022-09-08 22:01:30 +08:00
parent 57a97f2b5c
commit 55589c8d8e
3 changed files with 2 additions and 1 deletions

View File

@@ -5169,6 +5169,7 @@ function saveSetting($prefix, $nameAndValue, $autoload = 'yes')
}
$sql .= implode(",", $data) . " on duplicate key update value = values(value)";
\Nexus\Database\NexusDB::statement($sql);
clear_setting_cache();
do_action("nexus_setting_update", $prefix, $nameAndValue);
}