X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofiles.php;h=01030914c47bd095b7806403ab52ea63eead1a44;hb=737e40b4d9cb363eee831074b9c560bdbbdeba79;hp=7d2bceec1ac6b593447a7abd470036610fc9943e;hpb=4a473611163a12b48d3bbad71dc54765be8789f9;p=friendica.git diff --git a/mod/profiles.php b/mod/profiles.php index 7d2bceec1a..01030914c4 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -4,6 +4,7 @@ use Friendica\App; use Friendica\Network\Probe; require_once 'include/Contact.php'; +require_once 'include/socgraph.php'; function profiles_init(App $a) { @@ -504,8 +505,7 @@ function profiles_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()); // Update the global contact for the user update_gcontact_for_user(local_user());