diff options
author | Treer <treer.git@the-bordello.com> | 2016-07-03 22:21:48 +1000 |
---|---|---|
committer | Treer <treer.git@the-bordello.com> | 2016-07-03 22:38:05 +1000 |
commit | 5c062aaec410ca1d5275a4a7079dadddb82c3097 (patch) | |
tree | ff9a7a78a344dcce8a13c2757ec88b41c7feb7d1 /Zotlabs/Module | |
parent | b87106b6fe735365587d7683d8b639e0cf37842c (diff) | |
download | volse-hubzilla-5c062aaec410ca1d5275a4a7079dadddb82c3097.tar.gz volse-hubzilla-5c062aaec410ca1d5275a4a7079dadddb82c3097.tar.bz2 volse-hubzilla-5c062aaec410ca1d5275a4a7079dadddb82c3097.zip |
force immediate avatar update
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Profile_photo.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Profile_photo.php b/Zotlabs/Module/Profile_photo.php index 9359b80f8..f459f7deb 100644 --- a/Zotlabs/Module/Profile_photo.php +++ b/Zotlabs/Module/Profile_photo.php @@ -180,6 +180,8 @@ class Profile_photo extends \Zotlabs\Web\Controller { dbesc(datetime_convert()), dbesc($channel['xchan_hash']) ); + // Similarly, tell the nav bar to bypass the cache and update the avater image. + $_SESSION['reload_avatar'] = true; info( t('Shift-reload the page or clear browser cache if the new photo does not display immediately.') . EOL); |