]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
Useless info messages removed
[friendica.git] / mod / follow.php
index 97bf9fcf9a50f89752e5b35d6e1c33e4c33449dc..ac07d040cc99afb11d9afcbe9747fa91de507c16 100644 (file)
@@ -62,7 +62,7 @@ function follow_post(App $a)
                DI::baseUrl()->redirect('contact/' . $result['cid']);
        }
 
-       info(DI::l10n()->t('The contact could not be added.'));
+       notice(DI::l10n()->t('The contact could not be added.'));
 
        DI::baseUrl()->redirect($return_path);
        // NOTREACHED
@@ -107,7 +107,7 @@ function follow_content(App $a)
                }
        }
 
-       $contact = Contact::getByURL($url, 0, [], true);
+       $contact = Contact::getByURL($url, true);
        if (empty($contact)) {
                // Possibly it is a remote item and not an account
                follow_remote_item($url);