]> git.mxchange.org Git - friendica.git/blobdiff - mod/settings.php
Merge pull request #3483 from rabuzarus/20170522_-_frio_event_button_fix
[friendica.git] / mod / settings.php
index 1d83251d4b327054c61e481aca3a86ad5361555e..3357de09e512ea4b90f90817af86dd33cddad963 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+use Friendica\App;
+
 require_once('include/group.php');
 require_once('include/socgraph.php');
 
@@ -635,8 +637,7 @@ function settings_post(App $a) {
                }
        }
 
-       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());