From 6e8e326705ce18fd30474a3eaf08882421b81329 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 19 May 2017 06:01:13 +0000 Subject: [PATCH] Bugfix: Timeout problems when saving profile settings --- include/api.php | 3 +-- include/profile_update.php | 10 ++++++++-- mod/profile_photo.php | 3 +-- mod/profiles.php | 3 +-- mod/settings.php | 3 +-- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/include/api.php b/include/api.php index 64afa8c14..caf316d76 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 7aa34d45d..69484e8fe 100644 --- a/include/profile_update.php +++ b/include/profile_update.php @@ -1,6 +1,12 @@