]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Advanced.php
Removed temporary code
[friendica.git] / src / Module / Contact / Advanced.php
index 8640808439ad32247b6811d83092745fa9817c6c..be1e874a57939c98af964e20e703970a01914017 100644 (file)
@@ -87,11 +87,11 @@ class Advanced extends BaseModule
                if ($photo) {
                        DI::logger()->notice('Updating photo.', ['photo' => $photo]);
 
-                       Model\Contact::updateAvatar($photo, local_user(), $contact['id'], true);
+                       Model\Contact::updateAvatar($contact['id'], $photo, true);
                }
 
                if (!$r) {
-                       notice(DI::l10n()->t('Contact update failed.') . EOL);
+                       notice(DI::l10n()->t('Contact update failed.'));
                }
 
                return;