improve cleanup

This commit is contained in:
xiaomlove
2022-11-05 18:43:49 +08:00
parent 4f4026aed1
commit 2f958f2a9c
15 changed files with 283 additions and 110 deletions

View File

@@ -986,7 +986,14 @@ function clear_setting_cache()
{
\Nexus\Database\NexusDB::cache_del('nexus_settings_in_laravel');
\Nexus\Database\NexusDB::cache_del('nexus_settings_in_nexus');
}
/**
* @see functions.php::get_category_row()
*/
function clear_category_cache()
{
\Nexus\Database\NexusDB::cache_del('category_content');
}
function clear_staff_message_cache()