mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Clear first page cache on profile image update
This commit is contained in:
parent
55e9d24c2b
commit
86dbbabffd
1 changed files with 1 additions and 0 deletions
|
@ -45,5 +45,6 @@ $user->setPhotoURL($photoURL);
|
|||
if ($user->save()) {
|
||||
User::deleteOGImage(User::getId());
|
||||
User::updateSessionInfo();
|
||||
clearCache(true);
|
||||
}
|
||||
die(json_encode($obj));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue