From 6b0b9481cb028f0acf8904d4f3c2c06b4a1384f1 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 6 Dec 2015 20:05:57 +0100 Subject: [PATCH] Bugfix for pull request #2147 (Fix for issue #2122) --- include/socgraph.php | 1 - 1 file changed, 1 deletion(-) diff --git a/include/socgraph.php b/include/socgraph.php index 47df52f380..559b1832b2 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -1195,7 +1195,6 @@ function suggestion_query($uid, $start = 0, $limit = 80) { AND `gcontact`.`updated` != '0000-00-00 00:00:00' AND `gcontact`.`last_contact` >= `gcontact`.`last_failure` AND `gcontact`.`network` IN (%s) - AND NOT `gcontact`.`id` IN (SELECT `gcid` FROM `gcign` WHERE `uid` = %d) GROUP BY `glink`.`gcid` ORDER BY `gcontact`.`updated` DESC,`total` DESC LIMIT %d, %d", intval($uid), intval($uid),