From: Michael Date: Mon, 8 Nov 2021 21:58:21 +0000 (+0000) Subject: Removed unneeded parameter X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fbde999d0d6a0d04e3e4f87cc6d7f30331319cc2;p=friendica.git Removed unneeded parameter --- diff --git a/include/api.php b/include/api.php index 78ce746a7f..ea3940feda 100644 --- a/include/api.php +++ b/include/api.php @@ -4221,7 +4221,7 @@ api_register_func('api/account/update_profile_image', 'api_account_update_profil function api_account_update_profile($type) { $local_user = api_user(); - $api_user = api_get_user(DI::app()); + $api_user = api_get_user(); if (!empty($_POST['name'])) { DBA::update('profile', ['name' => $_POST['name']], ['uid' => $local_user]);