Fix wrong error message when updated a contact

This commit is contained in:
Michael 2019-05-02 19:22:43 +00:00
parent 8adf0e6e5c
commit a4dffee5f4
2 changed files with 48 additions and 47 deletions

View file

@ -1782,7 +1782,7 @@ class Contact extends BaseObject
* @param array $contact
* @return boolean
*/
private static function isLegacyDFRNContact($contact)
public static function isLegacyDFRNContact($contact)
{
// Newer Friendica contacts are connected via AP, then these fields aren't set
return !empty($contact['dfrn-id']) || !empty($contact['issued-id']);