From: friendica <info@friendica.com>
Date: Sat, 12 Nov 2011 21:47:51 +0000 (-0800)
Subject: warn about photo caching when updating profile pic
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8a19c7c379e8e969a23659b8038d1d0ed5de6c02;p=friendica.git

warn about photo caching when updating profile pic
---

diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index 47f0f8d8e5..e3dbdaf39c 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -86,6 +86,7 @@ function profile_photo_post(&$a) {
 					intval(local_user())
 				);
 
+				info( t('Shift-reload the page or clear browser cache if the new photo does not display immediately.') . EOL);
 				// Update global directory in background
 				$url = $a->get_baseurl() . '/profile/' . $a->user['nickname'];
 				if($url && strlen(get_config('system','directory_submit_url')))