]> git.mxchange.org Git - friendica.git/commitdiff
Some indentation
authorMichael <heluecht@pirati.ca>
Thu, 30 Jul 2020 21:23:54 +0000 (21:23 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 30 Jul 2020 21:23:54 +0000 (21:23 +0000)
src/Model/Contact.php

index 3e4683073e0347e6caf56abcc90d54aa3b00b951..61b4c9d05a9855d07c92b59bd5a4f249cfca4c8d 100644 (file)
@@ -2987,8 +2987,8 @@ class Contact
                $results = DBA::select('contact', [],
                        ["`id` IN (SELECT `cid` FROM `contact-relation` WHERE `relation-cid` IN
                                (SELECT `cid` FROM `contact-relation` WHERE `relation-cid` = ?)
-                               AND NOT `cid` IN (SELECT `id` FROM `contact` WHERE `uid` = ? AND `nurl` IN
-                                       (SELECT `nurl` FROM `contact` WHERE `uid` = ? AND `rel` IN (?, ?))))
+                                       AND NOT `cid` IN (SELECT `id` FROM `contact` WHERE `uid` = ? AND `nurl` IN
+                                               (SELECT `nurl` FROM `contact` WHERE `uid` = ? AND `rel` IN (?, ?))))
                        AND NOT `hidden` AND `network` IN (?, ?, ?, ?)",
                        $cid, 0, $uid, Contact::FRIEND, Contact::SHARING,
                        Protocol::ACTIVITYPUB, Protocol::DFRN, $diaspora, $ostatus],
@@ -3011,8 +3011,8 @@ class Contact
                $results = DBA::select('contact', [],
                        ["`id` IN (SELECT `cid` FROM `contact-relation` WHERE `relation-cid` IN
                                (SELECT `relation-cid` FROM `contact-relation` WHERE `cid` = ?)
-                               AND NOT `cid` IN (SELECT `id` FROM `contact` WHERE `uid` = ? AND `nurl` IN
-                                       (SELECT `nurl` FROM `contact` WHERE `uid` = ? AND `rel` IN (?, ?))))
+                                       AND NOT `cid` IN (SELECT `id` FROM `contact` WHERE `uid` = ? AND `nurl` IN
+                                               (SELECT `nurl` FROM `contact` WHERE `uid` = ? AND `rel` IN (?, ?))))
                        AND NOT `hidden` AND `network` IN (?, ?, ?, ?)",
                        $cid, 0, $uid, Contact::FRIEND, Contact::SHARING,
                        Protocol::ACTIVITYPUB, Protocol::DFRN, $diaspora, $ostatus],