The "tag" field is not used anymore

2022.09-rc
Michael 2021-01-19 10:30:45 +00:00
rodzic 9ba36b28c2
commit 487c2df9ca
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -378,7 +378,7 @@ class Processor
} }
foreach ($activity['receiver'] as $receiver) { foreach ($activity['receiver'] as $receiver) {
$item = Post::selectFirst(['id', 'uri-id', 'tag', 'origin', 'author-link'], ['uri' => $activity['target_id'], 'uid' => $receiver]); $item = Post::selectFirst(['id', 'uri-id', 'origin', 'author-link'], ['uri' => $activity['target_id'], 'uid' => $receiver]);
if (!DBA::isResult($item)) { if (!DBA::isResult($item)) {
// We don't fetch missing content for this purpose // We don't fetch missing content for this purpose
continue; continue;

Wyświetl plik

@ -2060,7 +2060,7 @@ class DFRN
$xt = XML::parseString($item["target"]); $xt = XML::parseString($item["target"]);
if ($xt->type == Activity\ObjectType::NOTE) { if ($xt->type == Activity\ObjectType::NOTE) {
$item_tag = Post::selectFirst(['id', 'uri-id', 'tag'], ['uri' => $xt->id, 'uid' => $importer["importer_uid"]]); $item_tag = Post::selectFirst(['id', 'uri-id'], ['uri' => $xt->id, 'uid' => $importer["importer_uid"]]);
if (!DBA::isResult($item_tag)) { if (!DBA::isResult($item_tag)) {
Logger::log("Query failed to execute, no result returned in " . __FUNCTION__); Logger::log("Query failed to execute, no result returned in " . __FUNCTION__);