]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile_photo.php
Merge pull request #3613 from annando/some-ostatus
[friendica.git] / mod / profile_photo.php
index b2bf6e3b157899a17d1c948d9be0c5b71f3a6e5e..c9fc5232df57862c50bbac0fa4035481289c6532 100644 (file)
@@ -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);
                        }