mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Don't search for contacts on blocked or failed systems
This commit is contained in:
parent
f61fd93db0
commit
4c81a7ab91
4 changed files with 21 additions and 6 deletions
|
@ -55,7 +55,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1517);
|
||||
define('DB_UPDATE_VERSION', 1518);
|
||||
}
|
||||
|
||||
return [
|
||||
|
|
|
@ -1009,6 +1009,8 @@
|
|||
"site_name" => ["gserver", "site_name"],
|
||||
"platform" => ["gserver", "platform"],
|
||||
"version" => ["gserver", "version"],
|
||||
"server-blocked" => ["gserver", "blocked"],
|
||||
"server-failed" => ["gserver", "failed"],
|
||||
],
|
||||
"query" => "FROM `contact`
|
||||
LEFT JOIN `item-uri` ON `item-uri`.`id` = `contact`.`uri-id`
|
||||
|
@ -1111,6 +1113,8 @@
|
|||
"site_name" => ["gserver", "site_name"],
|
||||
"platform" => ["gserver", "platform"],
|
||||
"version" => ["gserver", "version"],
|
||||
"server-blocked" => ["gserver", "blocked"],
|
||||
"server-failed" => ["gserver", "failed"],
|
||||
],
|
||||
"query" => "FROM `contact` AS `ucontact`
|
||||
INNER JOIN `contact` ON `contact`.`uri-id` = `ucontact`.`uri-id` AND `contact`.`uid` = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue