aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile_photo.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-20 14:38:32 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-20 14:38:32 -0800
commit106b4fdd2d4b0cf893d27df7d60085b441f37b9a (patch)
tree54e6c412710c0ba0dbc3423b62ad99479822f36b /mod/profile_photo.php
parentd9ddf7561f34ca4e83834e9144d2a4f25bc9fa0a (diff)
downloadvolse-hubzilla-106b4fdd2d4b0cf893d27df7d60085b441f37b9a.tar.gz
volse-hubzilla-106b4fdd2d4b0cf893d27df7d60085b441f37b9a.tar.bz2
volse-hubzilla-106b4fdd2d4b0cf893d27df7d60085b441f37b9a.zip
add v4 project roadmap, partial fix for cloning of profile photos on alternate profiles
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r--mod/profile_photo.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index 7067a9f76..2884505f0 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -6,6 +6,7 @@
*/
require_once('include/photo/photo_driver.php');
+require_once('include/identity.php');
/* @brief Function for sync'ing permissions of profile-photos and their profile
*
@@ -195,6 +196,8 @@ function profile_photo_post(&$a) {
);
}
+ profiles_build_sync(local_channel());
+
// We'll set the updated profile-photo timestamp even if it isn't the default profile,
// so that browsers will do a cache update unconditionally