]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Relay.php
Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact
[friendica.git] / src / Protocol / Relay.php
index f89dc3999930d48e47ee83044183a2210333454e..b604f5ab37951459d22ee643c7055ecdacd6cfca 100644 (file)
@@ -166,7 +166,7 @@ class Relay
                        $fields['updated'] = DateTimeFormat::utcNow();
 
                        Logger::info('Update relay contact', ['server' => $gserver['url'], 'id' => $old['id'], 'fields' => $fields]);
-                       DBA::update('contact', $fields, ['id' => $old['id']], $old);
+                       Contact::update($fields, ['id' => $old['id']], $old);
                } else {
                        $default = ['created' => DateTimeFormat::utcNow(),
                                'name' => 'relay', 'nick' => 'relay', 'url' => $gserver['url'],