]> git.mxchange.org Git - friendica.git/commitdiff
Improve formatting in ActivityPub\Transmitter
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 7 May 2020 07:47:45 +0000 (03:47 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 7 May 2020 07:47:45 +0000 (03:47 -0400)
src/Protocol/ActivityPub/Transmitter.php

index 84a6d61be607385552cb7d346b2d8f0df005b42b..0dfef3ebdeffcb2cceb01c6fb515a2119d78eb28 100644 (file)
@@ -86,9 +86,9 @@ class Transmitter
                $condition = DBA::buildCondition($parameters);
 
                $sql = "SELECT COUNT(*) as `count`
-               FROM `contact`
-               JOIN `apcontact` ON `apcontact`.`url` = `contact`.`url`
-               " . $condition;
+                       FROM `contact`
+                       JOIN `apcontact` ON `apcontact`.`url` = `contact`.`url`
+                       " . $condition;
 
                $contacts = DBA::fetchFirst($sql, ...$parameters);
 
@@ -112,10 +112,10 @@ class Transmitter
                        $list = [];
 
                        $sql = "SELECT `contact`.`url`
-                       FROM `contact`
-                       JOIN `apcontact` ON `apcontact`.`url` = `contact`.`url`
-                       " . $condition . "
-                       LIMIT ?, ?";
+                               FROM `contact`
+                               JOIN `apcontact` ON `apcontact`.`url` = `contact`.`url`
+                               " . $condition . "
+                               LIMIT ?, ?";
 
                        $parameters[] = ($page - 1) * 100;
                        $parameters[] = 100;