]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Twitter/Friends/Ids.php
Happy New Year 2023!
[friendica.git] / src / Module / Api / Twitter / Friends / Ids.php
index d12e082cfa38bc9d2ab3fab758484461014be982..0f0523e120fc994f89783324b8fbfb88a654fd69 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -52,25 +52,25 @@ class Ids extends ContactEndpoint
                        $params = ['order' => ['pid' => true], 'limit' => $count];
 
                        $condition = ['uid' => $uid, 'self' => false, 'pending' => false, 'rel' => [Contact::SHARING, Contact::FRIEND]];
-       
+
                        $total_count = (int)DBA::count('contact', $condition);
 
                        if (!empty($max_id)) {
                                $condition = DBA::mergeConditions($condition, ["`pid` < ?", $max_id]);
                        }
-       
+
                        if (!empty($since_id)) {
                                $condition = DBA::mergeConditions($condition, ["`pid` > ?", $since_id]);
                        }
-       
+
                        if (!empty($min_id)) {
                                $condition = DBA::mergeConditions($condition, ["`pid` > ?", $min_id]);
-       
+
                                $params['order'] = ['pid'];
                        }
-       
+
                        $ids = [];
-       
+
                        foreach (Contact::selectAccountToArray(['pid'], $condition, $params) as $follower) {
                                self::setBoundaries($follower['pid']);
                                $ids[] = $follower['pid'];