X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofile_photo.php;h=c9fc5232df57862c50bbac0fa4035481289c6532;hb=93fb98959a798cca0eb4709a38508b7e7b6d5b9e;hp=f9bf60cf543605b0322a01903d115669baa3bd24;hpb=8e12b159d947fb27ad6bdd5e06e3a90c1713687e;p=friendica.git diff --git a/mod/profile_photo.php b/mod/profile_photo.php index f9bf60cf54..c9fc5232df 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -1,5 +1,7 @@ user['nickname']); - } - function profile_photo_post(App $a) { if (! local_user()) { @@ -131,8 +131,7 @@ function profile_photo_post(App $a) { proc_run(PRIORITY_LOW, "include/directory.php", $url); } - require_once('include/profile_update.php'); - profile_change(); + proc_run(PRIORITY_LOW, 'include/profile_update.php', local_user()); } else { notice( t('Unable to process image') . EOL); }