aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Profile_photo.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-09 20:17:20 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-09 20:17:20 -0400
commit47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e (patch)
treefc325d9c111777700be5f69d0046940387196da6 /Zotlabs/Module/Profile_photo.php
parent0630609d6e60085f20d1430fd4044775dd9af5e9 (diff)
parente2574cf069dc29b1e8ca6bd64ee78b262206cef4 (diff)
downloadvolse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.tar.gz
volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.tar.bz2
volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.zip
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'Zotlabs/Module/Profile_photo.php')
-rw-r--r--Zotlabs/Module/Profile_photo.php2
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);