mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update ApiV1Controller, fix cache invalidation bug in update_credentials
This commit is contained in:
parent
19c62aaafa
commit
d56a4108ec
1 changed files with 8 additions and 1 deletions
|
@ -457,7 +457,14 @@ class ApiV1Controller extends Controller
|
|||
Cache::forget('profile:following_count:'.$profile->id);
|
||||
Cache::forget('profile:embed:'.$profile->id);
|
||||
Cache::forget('profile:compose:settings:'.$user->id);
|
||||
Cache::forget('profile:view:'.$user->username);
|
||||
Cache::forget('profile:view:'.$profile->username);
|
||||
Cache::forget('profile:atom:enabled:'.$profile->id);
|
||||
Cache::forget('pfc:cached-user:wt:'.strtolower($profile->username));
|
||||
Cache::forget('pfc:cached-user:wot:'.strtolower($profile->username));
|
||||
Cache::forget('pf:acct:settings:hidden-followers:'.$profile->id);
|
||||
Cache::forget('pf:acct:settings:hidden-following:'.$profile->id);
|
||||
Cache::forget('pf:acct-trans:hideFollowing:'.$profile->id);
|
||||
Cache::forget('pf:acct-trans:hideFollowers:'.$profile->id);
|
||||
AccountService::del($user->profile_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue