From: Michael Date: Fri, 19 May 2017 06:01:13 +0000 (+0000) Subject: Bugfix: Timeout problems when saving profile settings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6e8e326705ce18fd30474a3eaf08882421b81329;p=friendica.git Bugfix: Timeout problems when saving profile settings --- diff --git a/include/api.php b/include/api.php index 64afa8c148..caf316d76a 100644 --- a/include/api.php +++ b/include/api.php @@ -3744,8 +3744,7 @@ $called_api = null; proc_run(PRIORITY_LOW, "include/directory.php", $url); } - require_once 'include/profile_update.php'; - profile_change(); + proc_run(PRIORITY_LOW, 'include/profile_update.php', api_user()); // output for client if ($data) { diff --git a/include/profile_update.php b/include/profile_update.php index 7aa34d45d7..69484e8fe0 100644 --- a/include/profile_update.php +++ b/include/profile_update.php @@ -1,6 +1,12 @@