]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Relay.php
Merge remote-tracking branch 'upstream/develop' into item-view
[friendica.git] / src / Console / Relay.php
index 206726f6bca6862dd261fc8a8b843d5faf778b68..f417b51924fa8330ce9c040641a16d869161529b 100644 (file)
@@ -91,8 +91,8 @@ HELP;
 
                if ((count($this->args) == 1) && ($this->getArgument(0) == 'list')) {
                        $contacts = $this->dba->select('apcontact', ['url'],
-                       ["`type` = ? AND `url` IN (SELECT `url` FROM `contact` WHERE `uid` = ? AND `rel` IN (?, ?))",
-                               'Application', 0, Contact::FOLLOWER, Contact::FRIEND]);
+                       ["`type` = ? AND `url` IN (SELECT `url` FROM `contact` WHERE `uid` = ? AND `rel` = ?)",
+                               'Application', 0, Contact::FRIEND]);
                        while ($contact = $this->dba->fetch($contacts)) {
                                $this->out($contact['url']);
                        }