]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/DFRN.php
Flatten conditions and add call to HTML::checkRelMeLink in Worker\CheckRelMeProfileLink
[friendica.git] / src / Protocol / DFRN.php
index 9900708ed0d29d9a5a3766bdf0c054d265e45641..e29cfcc5ab38c7cd29989179c53da31cc0e0489e 100644 (file)
@@ -1066,8 +1066,8 @@ class DFRN
 
                $fields = ['id', 'uid', 'url', 'network', 'avatar-date', 'avatar', 'name-date', 'uri-date', 'addr',
                        'name', 'nick', 'about', 'location', 'keywords', 'xmpp', 'bdyear', 'bd', 'hidden', 'contact-type'];
-               $condition = ["`uid` = ? AND `nurl` = ? AND `network` != ? AND NOT `pending` AND NOT `blocked`",
-                       $importer["importer_uid"], Strings::normaliseLink($author["link"]), Protocol::STATUSNET];
+               $condition = ["`uid` = ? AND `nurl` = ? AND NOT `pending` AND NOT `blocked`",
+                       $importer["importer_uid"], Strings::normaliseLink($author["link"])];
 
                if ($importer['account-type'] != User::ACCOUNT_TYPE_COMMUNITY) {
                        $condition = DBA::mergeConditions($condition, ['rel' => [Contact::SHARING, Contact::FRIEND]]);