mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
cache rss user content
This commit is contained in:
@@ -1136,6 +1136,7 @@ function clear_user_cache($uid, $passkey = '')
|
||||
\Nexus\Database\NexusDB::cache_del("direct_permissions:$uid");
|
||||
if ($passkey) {
|
||||
\Nexus\Database\NexusDB::cache_del('user_passkey_'.$passkey.'_content');//announce.php
|
||||
\Nexus\Database\NexusDB::cache_del('user_passkey_'.$passkey.'_rss');//torrentrss.php
|
||||
}
|
||||
$userInfo = \App\Models\User::query()->find($uid, \App\Models\User::$commonFields);
|
||||
if ($userInfo) {
|
||||
|
||||
Reference in New Issue
Block a user