api announce apply_filter

This commit is contained in:
xiaomlove
2022-06-08 16:21:29 +08:00
parent 243273f1cb
commit 2a9b9ce919
2 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -194,8 +194,10 @@ if(get_user_class()>=$torrentmanage_class && ($CURUSER['picker'] == 'yes' || get
}
if ($doRecommend) {
do_log("[DEL_HOT_CLASSIC_RESOURCES]");
\Nexus\Database\NexusDB::cache_del("hot_resources");
\Nexus\Database\NexusDB::cache_del("classic_resources");
foreach ([$browsecatmode, $specialcatmode] as $mode) {
\Nexus\Database\NexusDB::cache_del("hot_{$mode}_resources");
\Nexus\Database\NexusDB::cache_del("classic_{$mode}_resources");
}
}
}