mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
clear_setting_cache() immediately
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user